Skip to content

Commit

Permalink
Always stopSelecting on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Jan 30, 2025
1 parent 8136ae3 commit ac54bea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions panel/src/components/Sections/ModelsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ export default {
this.$panel.notification.error(error);
} finally {
this.$panel.events.emit("model.update");
this.stopSelecting();
this.isProcessing = false;
}
},
Expand Down Expand Up @@ -306,9 +305,6 @@ export default {
onChange() {},
onDrop() {},
onPaginate(pagination) {
// reset batch mode
this.stopSelecting();
// update pagination page
sessionStorage.setItem(this.paginationId, pagination.page);
this.pagination = pagination;
Expand Down Expand Up @@ -346,6 +342,8 @@ export default {
}
},
async reload() {
// reset batch mode
this.stopSelecting();
await this.load(true);
},
async search() {
Expand Down

0 comments on commit ac54bea

Please sign in to comment.