fixed setExpiry()

The bug was that setExpiry didn't work if account was enabled and didn't have an expiry already.
pull/251/head
Aleksa Siriški 2 years ago committed by GitHub
parent 5d289ce023
commit f50596c4a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1334,9 +1334,7 @@ export class accountsList {
const list = this._collectUsers();
let applyList: string[] = [];
for (let id of list) {
if (this._users[id].expiry || enableUser) {
applyList.push(id);
}
applyList.push(id);
}
this._enableExpiryReason.classList.add("unfocused");
let header: string;

Loading…
Cancel
Save