mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 07:56:23 +00:00
Updated dashboard.js
Fixed not being able to delete disabled users. Bumped v1 version string.
This commit is contained in:
parent
4f04225ba0
commit
69380c868e
2
dist/js/dashboard.js
vendored
2
dist/js/dashboard.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/dashboard.js.map
vendored
2
dist/js/dashboard.js.map
vendored
File diff suppressed because one or more lines are too long
@ -2056,7 +2056,7 @@ page.disableUser = id => {
|
||||
|
||||
page.deleteUser = id => {
|
||||
const user = page.cache.users[id]
|
||||
if (!user || !user.enabled) return
|
||||
if (!user) return
|
||||
|
||||
const content = document.createElement('div')
|
||||
content.innerHTML = `
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"1": "1570403431",
|
||||
"1": "1570403792",
|
||||
"2": "1568894058",
|
||||
"3": "1568894058",
|
||||
"4": "1568894058",
|
||||
|
Loading…
Reference in New Issue
Block a user