From fd8f4e92157d46661b74d0b5a891bcc08d566b7b Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Mon, 26 Oct 2020 20:44:44 -0700 Subject: [PATCH] feat(explore): update the order of datasource dropdown menu (#11424) --- .../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')} - - )} );