Reduce JavaScript footprint

This commit is contained in:
the-djmaze 2022-10-10 13:52:56 +02:00
parent 689126c57d
commit b12852bd08
42 changed files with 240 additions and 426 deletions

View file

@ -56,11 +56,9 @@ export const GnuPGUserStore = new class {
if (iError) {
alert(oData.ErrorMessage);
} else if (oData.Result) {
if (isPrivate) {
this.privateKeys.remove(key);
} else {
this.publicKeys.remove(key);
}
isPrivate
? this.privateKeys.remove(key)
: this.publicKeys.remove(key);
}
}
}, {