diff --git a/superset-frontend/src/views/CRUD/welcome/ChartTable.tsx b/superset-frontend/src/views/CRUD/welcome/ChartTable.tsx index f9c7be7655e..705e8d4f98b 100644 --- a/superset-frontend/src/views/CRUD/welcome/ChartTable.tsx +++ b/superset-frontend/src/views/CRUD/welcome/ChartTable.tsx @@ -151,7 +151,7 @@ function ChartTable({ ), buttonStyle: 'tertiary', onClick: () => { - history.push('/chart/add'); + window.location.assign('/chart/add'); }, }, { diff --git a/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx b/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx index 2182982ff97..ed636db45b7 100644 --- a/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx +++ b/superset-frontend/src/views/CRUD/welcome/DashboardTable.tsx @@ -157,7 +157,7 @@ function DashboardTable({ ), buttonStyle: 'tertiary', onClick: () => { - history.push('/dashboard/new'); + window.location.assign('/dashboard/new'); }, }, {