mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +03:00
Reduce JavaScript footprint
This commit is contained in:
parent
689126c57d
commit
b12852bd08
42 changed files with 240 additions and 426 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue