message: Fixes issue where type query datasource had incorrect time controls when datasource type was 'query'
diff: @@ -54,9 +54,9 @@ const getMemoizedSectionsToRender = memoizeOne(
  const { datasourceAndVizType } = sections;
  - // list of datasource-specific controls that should be removed
  - const invalidControls =
  - datasourceType === 'table'
  + // list of datasource-specific controls that should be removed if the datasource is a specific type
  + const filterControlsForTypes = [DatasourceType.Query, DatasourceType.Table];
  + const invalidControls = filterControlsForTypes.includes(datasourceType)
  ? ['granularity']
  : ['granularity_sqla', 'time_grain_sqla'];
  