mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-03-18 21:50:33 +01:00
userpage: fix back to admin button
This commit is contained in:
@@ -659,7 +659,7 @@ document.addEventListener("details-reload", () => {
|
|||||||
expiryCard.expiry = details.expiry;
|
expiryCard.expiry = details.expiry;
|
||||||
|
|
||||||
const adminBackButton = document.getElementById("admin-back-button") as HTMLAnchorElement;
|
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");
|
let messageCard = document.getElementById("card-message");
|
||||||
if (details.accounts_admin) {
|
if (details.accounts_admin) {
|
||||||
|
|||||||
Reference in New Issue
Block a user