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
|
|
@ -6,8 +6,6 @@ import { showScreenPopup } from 'Knoin/Knoin';
|
|||
import DomainStore from 'Stores/Admin/Domain';
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/Admin';
|
||||
|
||||
class DomainsAdminSettings {
|
||||
constructor() {
|
||||
this.domains = DomainStore.domains;
|
||||
|
|
@ -44,7 +42,7 @@ class DomainsAdminSettings {
|
|||
el && ko.dataFor(el) && Remote.domain(this.onDomainLoadRequest, ko.dataFor(el).name);
|
||||
});
|
||||
|
||||
getApp().reloadDomainList();
|
||||
rl.app.reloadDomainList();
|
||||
}
|
||||
|
||||
onDomainLoadRequest(sResult, oData) {
|
||||
|
|
@ -54,7 +52,7 @@ class DomainsAdminSettings {
|
|||
}
|
||||
|
||||
onDomainListChangeRequest() {
|
||||
getApp().reloadDomainList();
|
||||
rl.app.reloadDomainList();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue