Remove Leftover Admin Panel Code
All checks were successful
Build and Push Image / spfn-website (push) Successful in 3m1s
All checks were successful
Build and Push Image / spfn-website (push) Successful in 3m1s
This commit is contained in:
parent
ec1e82879d
commit
b524787216
1 changed files with 1 additions and 5 deletions
|
|
@ -32,10 +32,6 @@ function updateUserDataDisplay(data) {
|
|||
|
||||
document.getElementById("access-level").textContent = level[0];
|
||||
document.getElementById("access-level").style = `color: ${level[1]}; background-color: ${level[2]}; border-color: ${level[3]}`;
|
||||
|
||||
if (data["account_level"] >= 2) {
|
||||
document.getElementById("ban").style = ""
|
||||
}
|
||||
}
|
||||
|
||||
function logOut() {
|
||||
|
|
@ -116,4 +112,4 @@ async function deleteAccount() {
|
|||
|
||||
document.getElementById("confirm-delete").style = "display: none;"
|
||||
document.getElementById("delete-success").style = ""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue