fix(superset-frontend): Fixes for broken functionality when an application root is defined (#36058)

This commit is contained in:
Martyn Gigg
2026-01-23 22:13:48 +00:00
committed by GitHub
parent d54e227e25
commit e4f649e49c
9 changed files with 128 additions and 69 deletions

View File

@@ -288,9 +288,16 @@ const ResultSet = ({
all_columns: results.columns.map(column => column.column_name),
});
const url = mountExploreUrl(null, {
[URL_PARAMS.formDataKey.name]: key,
});
const force = false;
const includeAppRoot = openInNewWindow;
const url = mountExploreUrl(
null,
{
[URL_PARAMS.formDataKey.name]: key,
},
force,
includeAppRoot,
);
if (openInNewWindow) {
window.open(url, '_blank', 'noreferrer');
} else {