mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: use order_desc shared control consistently (#19172)
This commit is contained in:
@@ -32,19 +32,7 @@ const config: ControlPanelConfig = {
|
||||
['adhoc_filters'],
|
||||
['limit', 'row_limit'],
|
||||
['timeseries_limit_metric'],
|
||||
[
|
||||
{
|
||||
name: 'order_desc',
|
||||
config: {
|
||||
type: 'CheckboxControl',
|
||||
label: t('Sort Descending'),
|
||||
default: true,
|
||||
description: t('Whether to sort descending or ascending'),
|
||||
visibility: ({ controls }) =>
|
||||
Boolean(controls?.timeseries_limit_metric.value),
|
||||
},
|
||||
},
|
||||
],
|
||||
['order_desc'],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user