From 791d7e94efb89741fc290b129e6712f91e39c0bf Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Mon, 15 Nov 2021 09:45:56 -0800 Subject: [PATCH] fix: do not show migration toast if user not enable dashboard filter components --- superset-frontend/src/dashboard/containers/DashboardPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/dashboard/containers/DashboardPage.tsx b/superset-frontend/src/dashboard/containers/DashboardPage.tsx index b154b6cf1b326..0622fac505a5f 100644 --- a/superset-frontend/src/dashboard/containers/DashboardPage.tsx +++ b/superset-frontend/src/dashboard/containers/DashboardPage.tsx @@ -140,7 +140,7 @@ const DashboardPage: FC = () => { } setFilterboxMigrationState(FILTER_BOX_MIGRATION_STATES.UNDECIDED); - } else { + } else if (isFeatureEnabled(FeatureFlag.DASHBOARD_NATIVE_FILTERS)) { dispatch( addWarningToast( t(