Skip to content

Commit

Permalink
fix(dashboard): scope of nativefilter not update (apache#18048)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ authored and bwang221 committed Feb 10, 2022
1 parent df81c01 commit 6a9247a
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 6a9247a

Please sign in to comment.