Skip to content

Commit

Permalink
action-list.js: Fix missing footer in OneColLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 11, 2023
1 parent 4427201 commit 63140d4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions public/js/action-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -709,11 +709,14 @@
}
}

_this.clearSelection(_this.getAllItems(list).filter(item => ! toActiveItems.includes(item)));
_this.clearSelection(_this.getAllItems(list).filter(item => !toActiveItems.includes(item)));
_this.setActive(toActiveItems);
}

if (isTopLevelContainer) {
_this.addSelectionCountToFooter(list);
if (isTopLevelContainer) {
let footerList = list ?? container.querySelector('.action-list');
if (footerList) {
_this.addSelectionCountToFooter(footerList);
}
}
}
Expand Down

0 comments on commit 63140d4

Please sign in to comment.