mirror of
https://github.com/apache/superset.git
synced 2026-05-11 02:45:46 +00:00
refactor: Removes the deprecated GENERIC_CHART_AXES feature flag (#26372)
This commit is contained in:
committed by
GitHub
parent
d8f7e2ce5e
commit
8a2f7d378a
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import React from 'react';
|
||||
import { ensureIsArray, hasGenericChartAxes, t } from '@superset-ui/core';
|
||||
import { ensureIsArray, t } from '@superset-ui/core';
|
||||
import { cloneDeep } from 'lodash';
|
||||
import {
|
||||
ControlPanelConfig,
|
||||
@@ -284,14 +284,11 @@ function createAdvancedAnalyticsSection(
|
||||
|
||||
const config: ControlPanelConfig = {
|
||||
controlPanelSections: [
|
||||
sections.genericTime,
|
||||
hasGenericChartAxes
|
||||
? {
|
||||
label: t('Shared query fields'),
|
||||
expanded: true,
|
||||
controlSetRows: [['x_axis'], ['time_grain_sqla']],
|
||||
}
|
||||
: null,
|
||||
{
|
||||
label: t('Shared query fields'),
|
||||
expanded: true,
|
||||
controlSetRows: [['x_axis'], ['time_grain_sqla']],
|
||||
},
|
||||
createQuerySection(t('Query A'), ''),
|
||||
createAdvancedAnalyticsSection(t('Advanced analytics Query A'), ''),
|
||||
createQuerySection(t('Query B'), '_b'),
|
||||
|
||||
Reference in New Issue
Block a user