fix: do not show migration toast if user not enable dashboard filter components (#17440)

This commit is contained in:
Grace Guo
2021-11-15 11:27:24 -08:00
committed by GitHub
parent eb029ab068
commit 9f1bf1cbd5

View File

@@ -140,7 +140,7 @@ const DashboardPage: FC = () => {
}
setFilterboxMigrationState(FILTER_BOX_MIGRATION_STATES.UNDECIDED);
} else {
} else if (isFeatureEnabled(FeatureFlag.DASHBOARD_NATIVE_FILTERS)) {
dispatch(
addWarningToast(
t(