mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix: Utilizing dashboard native filter feature flag (#15519)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
parent
81633e99ae
commit
99fe9c5657
@ -288,7 +288,8 @@ export const hydrateDashboard = (dashboardData, chartData, datasourcesData) => (
|
|||||||
}
|
}
|
||||||
|
|
||||||
metadata.show_native_filters =
|
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 (isFeatureEnabled(FeatureFlag.DASHBOARD_CROSS_FILTERS)) {
|
||||||
// If user just added cross filter to dashboard it's not saving it scope on server,
|
// If user just added cross filter to dashboard it's not saving it scope on server,
|
||||||
|
Loading…
Reference in New Issue
Block a user