mirror of
https://github.com/apache/superset.git
synced 2026-06-02 14:19:21 +00:00
refactor: Removes the deprecated ENABLE_EXPLORE_DRAG_AND_DROP feature flag (#26343)
This commit is contained in:
committed by
GitHub
parent
b2ad74f94f
commit
6063f4ff04
@@ -28,7 +28,7 @@ import {
|
||||
t,
|
||||
tn,
|
||||
} from '@superset-ui/core';
|
||||
import { ColumnMeta, withDndFallback } from '@superset-ui/chart-controls';
|
||||
import { ColumnMeta } from '@superset-ui/chart-controls';
|
||||
import AdhocMetric from 'src/explore/components/controls/MetricControl/AdhocMetric';
|
||||
import AdhocMetricPopoverTrigger from 'src/explore/components/controls/MetricControl/AdhocMetricPopoverTrigger';
|
||||
import MetricDefinitionValue from 'src/explore/components/controls/MetricControl/MetricDefinitionValue';
|
||||
@@ -40,7 +40,6 @@ import { DndItemType } from 'src/explore/components/DndItemType';
|
||||
import DndSelectLabel from 'src/explore/components/controls/DndColumnSelectControl/DndSelectLabel';
|
||||
import { savedMetricType } from 'src/explore/components/controls/MetricControl/types';
|
||||
import { AGGREGATES } from 'src/explore/constants';
|
||||
import MetricsControl from '../MetricControl/MetricsControl';
|
||||
|
||||
const EMPTY_OBJECT = {};
|
||||
const DND_ACCEPTED_TYPES = [DndItemType.Column, DndItemType.Metric];
|
||||
@@ -364,9 +363,4 @@ const DndMetricSelect = (props: any) => {
|
||||
);
|
||||
};
|
||||
|
||||
const DndMetricSelectWithFallback = withDndFallback(
|
||||
DndMetricSelect,
|
||||
MetricsControl,
|
||||
);
|
||||
|
||||
export { DndMetricSelectWithFallback as DndMetricSelect };
|
||||
export { DndMetricSelect };
|
||||
|
||||
Reference in New Issue
Block a user