admin: fix pseudo-urls again

This commit is contained in:
Harvey Tindall
2025-05-27 15:43:59 +01:00
parent 42d1abe130
commit 617f7ee133

View File

@@ -179,7 +179,7 @@ for (let tab of tabs) {
let matchedTab = false
for (const tab of tabs) {
if (window.location.pathname.startsWith(window.pages.Current + "/" + tab.url)) {
if (window.location.pathname.startsWith(window.pages.Base + window.pages.Current + "/" + tab.url)) {
window.tabs.switch(tab.url, true);
matchedTab = true;
}