mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
fixed setExpiry()
The bug was that setExpiry didn't work if account was enabled and didn't have an expiry already.
This commit is contained in:
parent
5d289ce023
commit
f50596c4a1
@ -1334,10 +1334,8 @@ export class accountsList {
|
||||
const list = this._collectUsers();
|
||||
let applyList: string[] = [];
|
||||
for (let id of list) {
|
||||
if (this._users[id].expiry || enableUser) {
|
||||
applyList.push(id);
|
||||
}
|
||||
}
|
||||
this._enableExpiryReason.classList.add("unfocused");
|
||||
let header: string;
|
||||
if (enableUser) {
|
||||
|
Loading…
Reference in New Issue
Block a user