mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Drop Capa enums
This commit is contained in:
parent
f44507a69b
commit
874f2592ca
14 changed files with 42 additions and 64 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { Capa } from 'Common/Enums';
|
||||
import { SettingsCapa, SettingsGet } from 'Common/Globals';
|
||||
|
||||
import { AccountUserStore } from 'Stores/User/Account';
|
||||
|
|
@ -14,8 +13,8 @@ import { IdentityPopupView } from 'View/Popup/Identity';
|
|||
|
||||
export class AccountsUserSettings /*extends AbstractViewSettings*/ {
|
||||
constructor() {
|
||||
this.allowAdditionalAccount = SettingsCapa(Capa.AdditionalAccounts);
|
||||
this.allowIdentities = SettingsCapa(Capa.Identities);
|
||||
this.allowAdditionalAccount = SettingsCapa('AdditionalAccounts');
|
||||
this.allowIdentities = SettingsCapa('Identities');
|
||||
|
||||
this.accounts = AccountUserStore.accounts;
|
||||
this.loading = AccountUserStore.loading;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue