mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
fix(explore): make SORT-Descending visible if Sort-by has value (#17726)
This commit is contained in:
@@ -42,6 +42,8 @@ const config: ControlPanelConfig = {
|
||||
label: t('Sort Descending'),
|
||||
default: true,
|
||||
description: t('Whether to sort descending or ascending'),
|
||||
visibility: ({ controls }) =>
|
||||
Boolean(controls?.timeseries_limit_metric.value),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user