refactor: Adds the sort_by_metric control to sharedControls (#29325)

This commit is contained in:
Michael S. Molina
2024-06-21 14:10:33 -03:00
committed by GitHub
parent 79d84f30f5
commit fe3ba12801
11 changed files with 20 additions and 106 deletions

View File

@@ -32,18 +32,7 @@ const config: ControlPanelConfig = {
['metric'],
['adhoc_filters'],
['row_limit'],
[
{
name: 'sort_by_metric',
config: {
type: 'CheckboxControl',
label: t('Sort by metric'),
description: t(
'Whether to sort results by the selected metric in descending order.',
),
},
},
],
['sort_by_metric'],
],
},
{