mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Cleanup logoutReload()
This commit is contained in:
parent
09f76d809b
commit
658ac816c8
2 changed files with 2 additions and 2 deletions
|
|
@ -868,7 +868,7 @@ class AppUser extends AbstractApp {
|
||||||
}
|
}
|
||||||
|
|
||||||
logout() {
|
logout() {
|
||||||
Remote.logout(() => this.logoutReload(0 < (SettingsGet('ParentEmail')||{length:0}).length));
|
Remote.logout(() => this.logoutReload((SettingsGet('ParentEmail')||{length:0}).length));
|
||||||
}
|
}
|
||||||
|
|
||||||
bootend() {
|
bootend() {
|
||||||
|
|
|
||||||
2
dev/bootstrap.js
vendored
2
dev/bootstrap.js
vendored
|
|
@ -29,7 +29,7 @@ export default (App) => {
|
||||||
addEventListener('click', ()=>rl.Dropdowns.detectVisibility());
|
addEventListener('click', ()=>rl.Dropdowns.detectVisibility());
|
||||||
|
|
||||||
rl.app = App;
|
rl.app = App;
|
||||||
rl.logoutReload = () => App && App.logoutReload && App.logoutReload();
|
rl.logoutReload = App.logoutReload;
|
||||||
|
|
||||||
rl.i18n = i18n;
|
rl.i18n = i18n;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue