mirror of https://github.com/apache/superset.git
fix(sqllab): add new tab when add sql query (#15492)
This commit is contained in:
parent
7889564250
commit
246368e9dc
|
@ -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/',
|
||||
|
|
|
@ -283,7 +283,7 @@ const SavedQueries = ({
|
|||
),
|
||||
buttonStyle: 'tertiary',
|
||||
onClick: () => {
|
||||
window.location.href = '/superset/sqllab';
|
||||
window.location.href = '/superset/sqllab?new=true';
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue