Skip to content

Commit

Permalink
Merge pull request #773 from searchspring/develop
Browse files Browse the repository at this point in the history
Release v0.42.2
  • Loading branch information
korgon authored Mar 24, 2023
2 parents 1f3abdf + b6c9870 commit 5b0eff2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ export class FinderSelectionStore extends Array<Selection | SelectionHierarchy>

const storageKey = generateStorageKey(config.id, facet.field);
storage.set(`${storageKey}.${levelConfig.key}.values`, selection.data);
storage.set(`${storageKey}.${levelConfig.key}.selected`, selection.selected);

const selectionHierarchy = new SelectionHierarchy(services, config.id, state, facet, levelConfig, loading, storage);

selectionHierarchy.selected = selection.selected;
selectionHierarchy.data = selection.data;

if (config.persist?.lockSelections) {
selectionHierarchy.disabled = true;
}
Expand Down

0 comments on commit 5b0eff2

Please sign in to comment.