From 946f466574ac5949ffb3b2a9cae072ee360cbc1f Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Mon, 15 Nov 2021 11:27:24 -0800 Subject: [PATCH] fix: do not show migration toast if user not enable dashboard filter components (#17440) --- 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(