userpage: fix back to admin button

This commit is contained in:
Harvey Tindall
2025-11-27 17:58:52 +00:00
parent 073772ad60
commit ab5a82858e

View File

@@ -659,7 +659,7 @@ document.addEventListener("details-reload", () => {
expiryCard.expiry = details.expiry;
const adminBackButton = document.getElementById("admin-back-button") as HTMLAnchorElement;
adminBackButton.href = window.pages.Base + window.pages.Admin;
adminBackButton.href = window.pages.Base + window.pages.Admin + "/";
let messageCard = document.getElementById("card-message");
if (details.accounts_admin) {