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:
Aleksa Siriški
2023-02-01 23:11:21 +01:00
committed by GitHub
parent 5d289ce023
commit f50596c4a1

View File

@@ -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;