mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Cleanup __APP__/getApp code
This commit is contained in:
parent
29cf711a6a
commit
b904eca98e
34 changed files with 86 additions and 146 deletions
|
|
@ -9,8 +9,6 @@ import CapaAdminStore from 'Stores/Admin/Capa';
|
|||
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/Admin';
|
||||
|
||||
import { popup, command } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
|
|
@ -317,7 +315,7 @@ class DomainPopupView extends AbstractViewNext {
|
|||
this.saving(false);
|
||||
if (StorageResultType.Success === sResult && oData) {
|
||||
if (oData.Result) {
|
||||
getApp().reloadDomainList();
|
||||
rl.app.reloadDomainList();
|
||||
this.closeCommand();
|
||||
} else if (Notification.DomainAlreadyExists === oData.ErrorCode) {
|
||||
this.savingError(i18n('ERRORS/DOMAIN_ALREADY_EXISTS'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue