mirror of
https://github.com/apache/superset.git
synced 2026-04-13 05:07:53 +00:00
fix(plugin-chart-table): Include time control (#23533)
This commit is contained in:
committed by
GitHub
parent
bd0609df58
commit
13ffb4b7c2
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user