mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Better info regarding storing keys on server
This commit is contained in:
parent
f8cbd5d129
commit
221136ce1c
3 changed files with 25 additions and 30 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { PgpUserStore } from 'Stores/User/Pgp';
|
||||
|
||||
import { decorateKoCommands } from 'Knoin/Knoin';
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
import { Capa } from 'Common/Enums';
|
||||
|
|
@ -25,13 +24,9 @@ export class OpenPgpImportPopupView extends AbstractViewPopup {
|
|||
this.keyError(false);
|
||||
this.keyErrorMessage('');
|
||||
});
|
||||
|
||||
decorateKoCommands(this, {
|
||||
addOpenPgpKeyCommand: 1
|
||||
});
|
||||
}
|
||||
|
||||
addOpenPgpKeyCommand() {
|
||||
submitForm() {
|
||||
let keyTrimmed = this.key().trim();
|
||||
|
||||
if (/\n/.test(keyTrimmed)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue