fix(dashboard): scope of nativefilter not update (#18048)

This commit is contained in:
Stephen Liu 2022-01-18 16:51:51 +08:00 committed by GitHub
parent 0c7f7288d8
commit 3b64563f3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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');
@ -406,7 +406,7 @@ export const hydrateDashboard =
maxUndoHistoryExceeded: false,
lastModifiedTime: dashboardData.changed_on,
isRefreshing: false,
activeTabs: [],
activeTabs: dashboardState?.activeTabs || [],
filterboxMigrationState,
},
dashboardLayout,