diff --git a/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.tsx b/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.tsx index 27925a52f0f73..d46606e6bee7a 100644 --- a/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.tsx +++ b/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.tsx @@ -332,7 +332,7 @@ const time_grain_sqla: SharedControlConfig<'SelectControl'> = { const xAxis = controls?.x_axis; const xAxisValue = xAxis?.value; - if (xAxisValue === undefined || isAdhocColumn(xAxisValue)) { + if (isAdhocColumn(xAxisValue)) { return true; } if (isPhysicalColumn(xAxisValue)) {