From 627642162b60450d8011dafe3cc799ed5cbbbe63 Mon Sep 17 00:00:00 2001 From: Lily Kuang Date: Thu, 7 Jan 2021 16:50:11 -0800 Subject: [PATCH] chore: change order of tab on explore data panel (#12335) --- .../explore/components/DatasourcePanel.tsx | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/superset-frontend/src/explore/components/DatasourcePanel.tsx b/superset-frontend/src/explore/components/DatasourcePanel.tsx index cc1129eaf..f961efad3 100644 --- a/superset-frontend/src/explore/components/DatasourcePanel.tsx +++ b/superset-frontend/src/explore/components/DatasourcePanel.tsx @@ -191,22 +191,9 @@ const DataSourcePanel = ({ /> - {t('Columns')}} - key="column" - > -
- {t(`Showing %s of %s`, columnSlice.length, columns.length)} -
- {columnSlice.map(col => ( -
- -
- ))} -
{t('Metrics')}} key="metrics" @@ -220,6 +207,19 @@ const DataSourcePanel = ({ ))} + {t('Columns')}} + key="column" + > +
+ {t(`Showing %s of %s`, columnSlice.length, columns.length)} +
+ {columnSlice.map(col => ( +
+ +
+ ))} +