From b823ade28f8def5cee45073a4aa622f5e609fa18 Mon Sep 17 00:00:00 2001 From: hughhhh Date: Mon, 26 Oct 2020 09:18:05 -0400 Subject: [PATCH] change ordering of btn menu --- .../components/controls/DatasourceControl.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/DatasourceControl.jsx b/superset-frontend/src/explore/components/controls/DatasourceControl.jsx index 709a927c58274..1d702498ece4f 100644 --- a/superset-frontend/src/explore/components/controls/DatasourceControl.jsx +++ b/superset-frontend/src/explore/components/controls/DatasourceControl.jsx @@ -194,6 +194,11 @@ class DatasourceControl extends React.PureComponent { const datasourceMenu = ( + {this.props.isEditable && ( + + {t('Edit Dataset')} + + )} {t('Change Dataset')} - {t('Explore in SQL Lab')} + {t('View in SQL Lab')} - {this.props.isEditable && ( - - {t('Edit Dataset')} - - )} );