From 64235d68183bf6aa22216de4b1bda578e5cd5bf5 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 c3a2ee579dc40..989e32381d971 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 @@ -43,21 +43,21 @@ const config: ControlPanelConfig = { controlSetRows: [ [ { - name: 'groupbyRows', + name: 'groupbyColumns', config: { ...sharedControls.groupby, - label: t('Rows'), - description: t('Columns to group by on the rows'), + label: t('Columns'), + description: t('Columns to group by on the columns'), }, }, ], [ { - name: 'groupbyColumns', + name: 'groupbyRows', config: { ...sharedControls.groupby, - label: t('Columns'), - description: t('Columns to group by on the columns'), + label: t('Rows'), + description: t('Columns to group by on the rows'), }, }, ],