mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Cleanup AppUser and AdminApp
This commit is contained in:
parent
cf3801cba0
commit
893364d52d
5 changed files with 20 additions and 24 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { Settings, SettingsGet } from 'Common/Globals';
|
||||
import { changeTheme } from 'Common/Utils';
|
||||
import { Settings } from 'Common/Globals';
|
||||
|
||||
import { logoutLink } from 'Common/Links';
|
||||
import { i18nToNodes, initOnStartOrLangChange } from 'Common/Translator';
|
||||
|
|
@ -33,17 +32,6 @@ export class AbstractApp {
|
|||
}
|
||||
}
|
||||
|
||||
refresh() {
|
||||
// rl.adminArea() || !translatorReload(false, );
|
||||
rl.adminArea() || (
|
||||
LanguageStore.language(SettingsGet('Language'))
|
||||
& ThemeStore.populate()
|
||||
& changeTheme(SettingsGet('Theme'))
|
||||
);
|
||||
|
||||
this.start();
|
||||
}
|
||||
|
||||
bootstart() {
|
||||
const register = (key, ClassObject, templateID) => ko.components.register(key, {
|
||||
template: { element: templateID || (key + 'Component') },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue