Improved the (User|Admin) Settings screens

This commit is contained in:
djmaze 2021-11-07 21:19:48 +01:00
parent 6170de5aee
commit 5b0dd471bc
37 changed files with 948 additions and 1009 deletions

View file

@ -113,7 +113,7 @@ class MessageOpenPgpPopupView extends AbstractViewPopup {
this.privateKeys(privateKeys);
if (this.viewModelDom) {
const el = this.viewModelDom.querySelector('.key-list__item');
const el = this.querySelector('.key-list__item');
el && el.click();
}
}

View file

@ -1,7 +1,7 @@
import ko from 'ko';
import { Scope } from 'Common/Enums';
import { leftPanelDisabled, moveAction } from 'Common/Globals';
import { moveAction } from 'Common/Globals';
import { mailBox, settings } from 'Common/Links';
import { setFolderHash } from 'Common/Cache';
import { addComputablesTo } from 'Common/Utils';
@ -34,8 +34,6 @@ export class MailFolderList extends AbstractViewLeft {
this.foldersListWithSingleInboxRootFolder = ko.observable(false);
this.leftPanelDisabled = leftPanelDisabled;
this.allowContacts = AppUserStore.allowContacts();
addComputablesTo(this, {

View file

@ -1,4 +1,3 @@
import { leftPanelDisabled } from 'Common/Globals';
import { settings, mailbox } from 'Common/Links';
import { getFolderInboxName } from 'Common/Cache';
@ -11,8 +10,6 @@ export class MenuSettingsUserView extends AbstractViewLeft {
constructor(screen) {
super('SettingsMenu');
this.leftPanelDisabled = leftPanelDisabled;
this.menu = screen.menu;
}