mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +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 PluginStore from 'Stores/Admin/Plugin';
|
|||
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/Admin';
|
||||
|
||||
class PluginsAdminSettings {
|
||||
constructor() {
|
||||
this.enabledPlugins = ko.observable(!!rl.settings.get('EnabledPlugins'));
|
||||
|
|
@ -51,7 +49,7 @@ class PluginsAdminSettings {
|
|||
|
||||
onShow() {
|
||||
PluginStore.plugins.error('');
|
||||
getApp().reloadPluginList();
|
||||
rl.app.reloadPluginList();
|
||||
}
|
||||
|
||||
onPluginLoadRequest(result, data) {
|
||||
|
|
@ -71,7 +69,7 @@ class PluginsAdminSettings {
|
|||
}
|
||||
}
|
||||
|
||||
getApp().reloadPluginList();
|
||||
rl.app.reloadPluginList();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue