From 617f7ee1330f2564935b913b5b41da7816695392 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Tue, 27 May 2025 15:43:59 +0100 Subject: [PATCH] admin: fix pseudo-urls again --- ts/admin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/admin.ts b/ts/admin.ts index fd60a22..790eafb 100644 --- a/ts/admin.ts +++ b/ts/admin.ts @@ -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; }