Skip to content

Commit

Permalink
Override ENABLE_EXPLORE_DRAG_AND_DROP feature flag to force-enable dr…
Browse files Browse the repository at this point in the history
…ag-and-drop.
  • Loading branch information
codyml authored and jinghua-qa committed Sep 14, 2022
1 parent 973d870 commit 9f7e604
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,9 @@ const x_axis: SharedControlConfig<'SelectControl', ColumnMeta> = {
...xAxisControlConfig,
};

const enableExploreDnd = isFeatureEnabled(
FeatureFlag.ENABLE_EXPLORE_DRAG_AND_DROP,
);
// TODO: Revert hard-coding of enableExploreDnd to `true`
const enableExploreDnd =
isFeatureEnabled(FeatureFlag.ENABLE_EXPLORE_DRAG_AND_DROP) || true;

const sharedControls = {
metrics: enableExploreDnd ? dnd_adhoc_metrics : metrics,
Expand Down

0 comments on commit 9f7e604

Please sign in to comment.