Fix: Unable to open in a new window

This commit is contained in:
SiriusXT 2025-06-10 17:25:10 +08:00
parent 23238a6ca0
commit 885cdc8c97

View File

@ -218,7 +218,7 @@ export function parseNavigationStateFromUrl(url: string | undefined) {
}
// Exclude external links that contain #
if (hashIdx !== 0 && !url.includes("/#root") && !url.includes("/#?searchString")) {
if (hashIdx !== 0 && !url.includes("/#root") && !url.includes("/#?searchString") && !url.includes("/?extraWindow")) {
return {};
}