refactor: create echarts query section (#20445)

This commit is contained in:
Yongjie Zhao
2022-06-21 11:38:07 +08:00
committed by GitHub
parent 68af5980ea
commit c79b0d62d0
16 changed files with 145 additions and 254 deletions

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import React from 'react';
import { FeatureFlag, isFeatureEnabled, t } from '@superset-ui/core';
import { t } from '@superset-ui/core';
import {
ControlPanelsContainerProps,
ControlSetItem,
@@ -138,10 +138,6 @@ export const onlyTotalControl: ControlSetItem = {
},
};
export const xAxisControl = isFeatureEnabled(FeatureFlag.GENERIC_CHART_AXES)
? 'x_axis'
: null;
const percentageThresholdControl: ControlSetItem = {
name: 'percentage_threshold',
config: {