Feat: Show admin status on player page

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-22 10:32:50 +00:00
co-authored by mathieumoran1
parent d39b5c4b2f
commit 9fb24a8244
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -889,6 +889,8 @@ window.onload = async function () {
if (decoded.admin) {
const adminLink = document.getElementById('admin-control-link');
if (adminLink) adminLink.classList.remove('d-none');
const adminStatus = document.getElementById('player-admin-status');
if (adminStatus) adminStatus.classList.remove('d-none');
}
const logoffBtn = document.getElementById('log-off');