mirror of
https://github.com/apache/superset.git
synced 2026-06-08 09:09:27 +00:00
window.location > history.push (#12347)
This commit is contained in:
@@ -151,7 +151,7 @@ function ChartTable({
|
||||
),
|
||||
buttonStyle: 'tertiary',
|
||||
onClick: () => {
|
||||
history.push('/chart/add');
|
||||
window.location.assign('/chart/add');
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -157,7 +157,7 @@ function DashboardTable({
|
||||
),
|
||||
buttonStyle: 'tertiary',
|
||||
onClick: () => {
|
||||
history.push('/dashboard/new');
|
||||
window.location.assign('/dashboard/new');
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user