mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
refactor: preparation for time section migration (#21766)
This commit is contained in:
@@ -20,9 +20,8 @@ import {
|
||||
AdhocColumn,
|
||||
buildQueryContext,
|
||||
ensureIsArray,
|
||||
FeatureFlag,
|
||||
getMetricLabel,
|
||||
isFeatureEnabled,
|
||||
hasGenericChartAxes,
|
||||
isPhysicalColumn,
|
||||
QueryMode,
|
||||
QueryObject,
|
||||
@@ -104,7 +103,7 @@ const buildQuery: BuildQuery<TableChartFormData> = (
|
||||
if (
|
||||
isPhysicalColumn(col) &&
|
||||
formData.time_grain_sqla &&
|
||||
isFeatureEnabled(FeatureFlag.GENERIC_CHART_AXES) &&
|
||||
hasGenericChartAxes &&
|
||||
formData?.datetime_columns_lookup?.[col]
|
||||
) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user