Skip to content

Commit

Permalink
Clear selection when changing path in structure pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrunewald committed Feb 14, 2025
1 parent afd8870 commit 8627659
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pat/structure/js/views/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ export default BaseView.extend({
this.collection.setCurrentPath(path);
// this.textfilter.clearTerm();
this.clearStatus();

// remove the selection the user made
this.selectedCollection.reset();
},

getAjaxUrl: function (url) {
Expand Down

0 comments on commit 8627659

Please sign in to comment.