fix: Utilizing dashboard native filter feature flag (#15519)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley 2021-07-02 04:49:04 -07:00 committed by GitHub
parent 81633e99ae
commit 99fe9c5657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ export const hydrateDashboard = (dashboardData, chartData, datasourcesData) => (
}
metadata.show_native_filters =
dashboardData?.metadata?.show_native_filters ?? true;
dashboardData?.metadata?.show_native_filters ??
isFeatureEnabled(FeatureFlag.DASHBOARD_NATIVE_FILTERS);
if (isFeatureEnabled(FeatureFlag.DASHBOARD_CROSS_FILTERS)) {
// If user just added cross filter to dashboard it's not saving it scope on server,