fix(plugin-chart-table): Include time control (#23533)

This commit is contained in:
Kamil Gabryjelski
2023-04-03 12:31:33 +02:00
committed by GitHub
parent bd0609df58
commit 13ffb4b7c2
3 changed files with 39 additions and 14 deletions

View File

@@ -327,20 +327,24 @@ const config: ControlPanelConfig = {
},
},
],
!hasGenericChartAxes
? [
{
name: 'include_time',
config: {
type: 'CheckboxControl',
label: t('Include time'),
description: t(
'Whether to include the time granularity as defined in the time section',
),
default: false,
visibility: isAggMode,
resetOnHide: false,
},
},
]
: [null],
[
{
name: 'include_time',
config: {
type: 'CheckboxControl',
label: t('Include time'),
description: t(
'Whether to include the time granularity as defined in the time section',
),
default: false,
visibility: isAggMode,
resetOnHide: false,
},
},
{
name: 'order_desc',
config: {