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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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(