Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[fix] Fixed time filter toggling and display the correct filter (#2098)
Igor Dykhta20134f01c478
diff --git a/src/reducers/src/vis-state-updaters.ts b/src/reducers/src/vis-state-updaters.tsindex 9d9001802..96c523bf4 100644--- a/src/reducers/src/vis-state-updaters.ts+++ b/src/reducers/src/vis-state-updaters.ts@@ -1031,6 +1031,7 @@ export const setFilterViewUpdater = (action: VisStateActions.SetFilterViewUpdaterAction) => {const {view, idx} = action;+ const shouldResetOtherFiltersView = view === FILTER_VIEW_TYPES.enlarged;return {...state,filters: state.filters.map((f, i) =>@@ -1039,6 +1040,11 @@ export const setFilterViewUpdater = (...f,view}+ : shouldResetOtherFiltersView+ ? {+ ...f,+ view: FILTER_VIEW_TYPES.side+ }: f)};