Skip to content

Commit

Permalink
fix(dashboard): scope of nativefilter not update (#18048)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ authored Jan 18, 2022
1 parent 0c7f728 commit 3b64563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/dashboard/actions/hydrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const hydrateDashboard =
dataMaskApplied,
) =>
(dispatch, getState) => {
const { user, common } = getState();
const { user, common, dashboardState } = getState();

const { metadata } = dashboardData;
const regularUrlParams = extractUrlParams('regular');
Expand Down Expand Up @@ -406,7 +406,7 @@ export const hydrateDashboard =
maxUndoHistoryExceeded: false,
lastModifiedTime: dashboardData.changed_on,
isRefreshing: false,
activeTabs: [],
activeTabs: dashboardState?.activeTabs || [],
filterboxMigrationState,
},
dashboardLayout,
Expand Down

0 comments on commit 3b64563

Please sign in to comment.