mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(sqllab): Allow opening of SQL Lab in new browser tab (#25582)
This commit is contained in:
@@ -156,8 +156,8 @@ export const ExploreChartHeader = ({
|
||||
const { redirectSQLLab } = actions;
|
||||
|
||||
const redirectToSQLLab = useCallback(
|
||||
formData => {
|
||||
redirectSQLLab(formData, history);
|
||||
(formData, openNewWindow = false) => {
|
||||
redirectSQLLab(formData, !openNewWindow && history);
|
||||
},
|
||||
[redirectSQLLab, history],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user