diff --git a/app/packs/src/decidim/geo/ui/FilterControl.js b/app/packs/src/decidim/geo/ui/FilterControl.js index ae1587d..30dfd46 100644 --- a/app/packs/src/decidim/geo/ui/FilterControl.js +++ b/app/packs/src/decidim/geo/ui/FilterControl.js @@ -9,7 +9,6 @@ const FilterControl = L.Control.extend({ }, container: null, button: null, - overlay: null, modalOverlay: null, modalHelpText: null, onAdd(map) { diff --git a/app/packs/src/decidim/geo/ui/FilterModalOverlay.js b/app/packs/src/decidim/geo/ui/FilterModalOverlay.js index 91ca62e..c4d1e95 100644 --- a/app/packs/src/decidim/geo/ui/FilterModalOverlay.js +++ b/app/packs/src/decidim/geo/ui/FilterModalOverlay.js @@ -15,6 +15,10 @@ class FilterModalOverlay { }); } toggleOpen() { + dropdownFilterStore.setState(({ selectedFilters }) => ({ + nextFilters: { ...selectedFilters }, + })); + dropdownFilterStore.getState().toggleOpen(); }