diff --git a/superset-frontend/src/views/CRUD/welcome/EmptyState.tsx b/superset-frontend/src/views/CRUD/welcome/EmptyState.tsx index de58a799cd..1eb330f467 100644 --- a/superset-frontend/src/views/CRUD/welcome/EmptyState.tsx +++ b/superset-frontend/src/views/CRUD/welcome/EmptyState.tsx @@ -43,7 +43,7 @@ export default function EmptyState({ tableName, tab }: EmptyStateProps) { const mineRedirects = { DASHBOARDS: '/dashboard/new', CHARTS: '/chart/add', - SAVED_QUERIES: '/superset/sqllab', + SAVED_QUERIES: '/superset/sqllab?new=true', }; const favRedirects = { DASHBOARDS: '/dashboard/list/', diff --git a/superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx b/superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx index e8ec84acd8..325bd1a1ec 100644 --- a/superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx +++ b/superset-frontend/src/views/CRUD/welcome/SavedQueries.tsx @@ -283,7 +283,7 @@ const SavedQueries = ({ ), buttonStyle: 'tertiary', onClick: () => { - window.location.href = '/superset/sqllab'; + window.location.href = '/superset/sqllab?new=true'; }, }, {