From b5dca4ebfee8157e42added4d8b9fc08a768ea2f Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Fri, 17 Dec 2021 14:32:49 +0100 Subject: [PATCH] chore(plugin-chart-pivot-table): swap order of Columns and Rows controls (#17798) --- .../src/plugin/controlPanel.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx index c3a2ee579..989e32381 100644 --- a/superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx +++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx @@ -41,16 +41,6 @@ const config: ControlPanelConfig = { label: t('Query'), expanded: true, controlSetRows: [ - [ - { - name: 'groupbyRows', - config: { - ...sharedControls.groupby, - label: t('Rows'), - description: t('Columns to group by on the rows'), - }, - }, - ], [ { name: 'groupbyColumns', @@ -61,6 +51,16 @@ const config: ControlPanelConfig = { }, }, ], + [ + { + name: 'groupbyRows', + config: { + ...sharedControls.groupby, + label: t('Rows'), + description: t('Columns to group by on the rows'), + }, + }, + ], [ { name: 'metrics',