mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
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 = {
|
const mineRedirects = {
|
||||||
DASHBOARDS: '/dashboard/new',
|
DASHBOARDS: '/dashboard/new',
|
||||||
CHARTS: '/chart/add',
|
CHARTS: '/chart/add',
|
||||||
SAVED_QUERIES: '/superset/sqllab',
|
SAVED_QUERIES: '/superset/sqllab?new=true',
|
||||||
};
|
};
|
||||||
const favRedirects = {
|
const favRedirects = {
|
||||||
DASHBOARDS: '/dashboard/list/',
|
DASHBOARDS: '/dashboard/list/',
|
||||||
|
@ -283,7 +283,7 @@ const SavedQueries = ({
|
|||||||
),
|
),
|
||||||
buttonStyle: 'tertiary',
|
buttonStyle: 'tertiary',
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
window.location.href = '/superset/sqllab';
|
window.location.href = '/superset/sqllab?new=true';
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user