Skip to content

Commit

Permalink
fix(dashboard): scope of nativefilter not update
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ committed Jan 14, 2022
1 parent 5a74090 commit fe7a0bd
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 fe7a0bd

Please sign in to comment.