mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
prettier --write
This commit is contained in:
parent
450528ff00
commit
8a0be3212d
164 changed files with 7053 additions and 9008 deletions
|
|
@ -1,19 +1,17 @@
|
|||
|
||||
import ko from 'ko';
|
||||
import key from 'key';
|
||||
|
||||
import {KeyState} from 'Common/Enums';
|
||||
import {selectElement} from 'Common/Utils';
|
||||
import { KeyState } from 'Common/Enums';
|
||||
import { selectElement } from 'Common/Utils';
|
||||
|
||||
import {popup} from 'Knoin/Knoin';
|
||||
import {AbstractViewNext} from 'Knoin/AbstractViewNext';
|
||||
import { popup } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
@popup({
|
||||
name: 'View/Popup/ViewOpenPgpKey',
|
||||
templateID: 'PopupsViewOpenPgpKey'
|
||||
})
|
||||
class ViewOpenPgpKeyPopupView extends AbstractViewNext
|
||||
{
|
||||
class ViewOpenPgpKeyPopupView extends AbstractViewNext {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
|
|
@ -29,8 +27,7 @@ class ViewOpenPgpKeyPopupView extends AbstractViewNext
|
|||
|
||||
selectKey() {
|
||||
const el = this.keyDom();
|
||||
if (el)
|
||||
{
|
||||
if (el) {
|
||||
selectElement(el);
|
||||
}
|
||||
}
|
||||
|
|
@ -38,8 +35,7 @@ class ViewOpenPgpKeyPopupView extends AbstractViewNext
|
|||
onShow(openPgpKey) {
|
||||
this.clearPopup();
|
||||
|
||||
if (openPgpKey)
|
||||
{
|
||||
if (openPgpKey) {
|
||||
this.key(openPgpKey.armor);
|
||||
}
|
||||
}
|
||||
|
|
@ -52,4 +48,4 @@ class ViewOpenPgpKeyPopupView extends AbstractViewNext
|
|||
}
|
||||
}
|
||||
|
||||
export {ViewOpenPgpKeyPopupView, ViewOpenPgpKeyPopupView as default};
|
||||
export { ViewOpenPgpKeyPopupView, ViewOpenPgpKeyPopupView as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue