chore: Removing DASHBOARD_CROSS_FILTERS flag and all that comes with it. (#31794)

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
This commit is contained in:
Evan Rusackas
2025-01-28 09:39:30 -07:00
committed by GitHub
parent 640d4f09bd
commit 962fd4cca3
28 changed files with 141 additions and 322 deletions

View File

@@ -24,10 +24,10 @@ import {
logging,
Behavior,
t,
isFeatureEnabled,
FeatureFlag,
getChartMetadataRegistry,
VizType,
isFeatureEnabled,
FeatureFlag,
} from '@superset-ui/core';
import { Logger, LOG_ACTIONS_RENDER_CHART } from 'src/logger/LogUtils';
import { EmptyState } from 'src/components/EmptyState';
@@ -92,8 +92,7 @@ class ChartRenderer extends Component {
showContextMenu:
props.source === ChartSource.Dashboard &&
!suppressContextMenu &&
(isFeatureEnabled(FeatureFlag.DrillToDetail) ||
isFeatureEnabled(FeatureFlag.DashboardCrossFilters)),
isFeatureEnabled(FeatureFlag.DrillToDetail),
inContextMenu: false,
legendState: undefined,
};