mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(legacy-charts): Show Time Grain control for legacy charts (#26705)
This commit is contained in:
@@ -205,7 +205,7 @@ const time_grain_sqla: SharedControlConfig<'SelectControl'> = {
|
||||
choices: (datasource as Dataset)?.time_grain_sqla || [],
|
||||
}),
|
||||
visibility: ({ controls }) => {
|
||||
if (!hasGenericChartAxes) {
|
||||
if (!hasGenericChartAxes || !controls?.x_axis) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user