diff --git a/superset-frontend/src/views/CRUD/chart/ChartList.tsx b/superset-frontend/src/views/CRUD/chart/ChartList.tsx index ae64ae54fdd..3e4b6dbdb01 100644 --- a/superset-frontend/src/views/CRUD/chart/ChartList.tsx +++ b/superset-frontend/src/views/CRUD/chart/ChartList.tsx @@ -506,7 +506,6 @@ function ChartList(props: ChartListProps) { subMenuButtons.push({ name: ( <> - {' '} {t('Chart')} ), diff --git a/superset-frontend/src/views/CRUD/csstemplates/CssTemplatesList.tsx b/superset-frontend/src/views/CRUD/csstemplates/CssTemplatesList.tsx index 461616a3ad1..2604b5827f9 100644 --- a/superset-frontend/src/views/CRUD/csstemplates/CssTemplatesList.tsx +++ b/superset-frontend/src/views/CRUD/csstemplates/CssTemplatesList.tsx @@ -173,7 +173,6 @@ function CssTemplatesList({ subMenuButtons.push({ name: ( <> - {' '} {t('Css Template')} ), diff --git a/superset-frontend/src/views/CRUD/dashboard/DashboardList.tsx b/superset-frontend/src/views/CRUD/dashboard/DashboardList.tsx index 55bcf247459..e08fb7c506c 100644 --- a/superset-frontend/src/views/CRUD/dashboard/DashboardList.tsx +++ b/superset-frontend/src/views/CRUD/dashboard/DashboardList.tsx @@ -512,7 +512,6 @@ function DashboardList(props: DashboardListProps) { subMenuButtons.push({ name: ( <> - {' '} {t('Dashboard')} ), diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseList.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseList.tsx index 4b436ec3a4a..81c633c28c4 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseList.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseList.tsx @@ -130,7 +130,6 @@ function DatabaseList({ addDangerToast, addSuccessToast }: DatabaseListProps) { { name: ( <> - {' '} {t('Database')}{' '} ), diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx index 8b8fcb9126f..37567d02186 100644 --- a/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx @@ -389,7 +389,6 @@ const DatasetList: FunctionComponent = ({ buttonArr.push({ name: ( <> - {' '} {t('Dataset')}{' '} ), diff --git a/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx b/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx index 06c5c24b1a8..bf91d4d7a0e 100644 --- a/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx +++ b/superset-frontend/src/views/CRUD/data/savedquery/SavedQueryList.tsx @@ -145,7 +145,11 @@ function SavedQueryList({ } subMenuButtons.push({ - name: t('+ Query'), + name: ( + <> + {t('Query')} + + ), onClick: openNewQuery, buttonStyle: 'primary', });