mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
fix(explore): Prevent shared controls from checking feature flags outside React render (#21315)
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
ControlPanelState,
|
||||
formatSelectOptions,
|
||||
sections,
|
||||
dndEntity,
|
||||
sharedControls,
|
||||
getStandardizedControls,
|
||||
} from '@superset-ui/chart-controls';
|
||||
|
||||
@@ -36,7 +36,7 @@ const allColumns = {
|
||||
};
|
||||
|
||||
const columnsConfig = isFeatureEnabled(FeatureFlag.ENABLE_EXPLORE_DRAG_AND_DROP)
|
||||
? dndEntity
|
||||
? sharedControls.entity
|
||||
: allColumns;
|
||||
|
||||
const colorChoices = [
|
||||
|
||||
Reference in New Issue
Block a user