Skip to content

Commit

Permalink
Batch mode: reset on pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Jan 24, 2025
1 parent fc666bd commit 7c88a28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions panel/src/components/Sections/ModelsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ export default {
onChange() {},
onDrop() {},
onPaginate(pagination) {
// reset batch mode
this.isSelecting = false;
this.selected = [];
// update pagination page
sessionStorage.setItem(this.paginationId, pagination.page);
this.pagination = pagination;
this.reload();
Expand Down

0 comments on commit 7c88a28

Please sign in to comment.