Skip to content

Commit

Permalink
fix: selecting all pages with advanced/detail search corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Herrmann committed Jan 14, 2025
1 parent b7918ee commit 135a43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/src/stores/alt/stores/UIStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class UIStore {
const { elements } = ElementStore.getState();

if (range === 'all') {
if (this.state.currentSearchSelection && elements[type + "s"].ids) {
if (elements[`${type}s`].ids) {
const { ids } = elements[`${type}s`];
this.state[type].checkedAll = false;
this.state[type].checkedIds = List(ids);
Expand Down

0 comments on commit 135a43b

Please sign in to comment.