Version 0.7.2c - Fix des utilisateurs
This commit is contained in:
parent
1364601ccf
commit
3a4d060060
@ -60,10 +60,10 @@ settingsBtn.addEventListener("click", () => {
|
||||
for(var user of data) {
|
||||
|
||||
|
||||
const adminBtn = document.getElementById(data.indexOf(user) + "_admin")
|
||||
const deleteBtn = document.getElementById(data.indexOf(user) + "_delete")
|
||||
|
||||
var adminBtn = document.getElementById(data.indexOf(user) + "_admin")
|
||||
var deleteBtn = document.getElementById(data.indexOf(user) + "_delete")
|
||||
|
||||
if(adminBtn) {
|
||||
|
||||
if(data[data.indexOf(user)].admin == true) {
|
||||
|
||||
@ -88,6 +88,9 @@ settingsBtn.addEventListener("click", () => {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user