Updated dashboard.js

Fixed not being able to delete disabled users.

Bumped v1 version string.
This commit is contained in:
Bobby Wibowo 2019-10-07 06:16:47 +07:00
parent 4f04225ba0
commit 69380c868e
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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 = `

View File

@ -1,5 +1,5 @@
{
"1": "1570403431",
"1": "1570403792",
"2": "1568894058",
"3": "1568894058",
"4": "1568894058",