mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-28 02:21:06 +08: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() {
|
||||
Remote.logout(() => this.logoutReload(0 < (SettingsGet('ParentEmail')||{length:0}).length));
|
||||
Remote.logout(() => this.logoutReload((SettingsGet('ParentEmail')||{length:0}).length));
|
||||
}
|
||||
|
||||
bootend() {
|
||||
|
|
2
dev/bootstrap.js
vendored
2
dev/bootstrap.js
vendored
|
@ -29,7 +29,7 @@ export default (App) => {
|
|||
addEventListener('click', ()=>rl.Dropdowns.detectVisibility());
|
||||
|
||||
rl.app = App;
|
||||
rl.logoutReload = () => App && App.logoutReload && App.logoutReload();
|
||||
rl.logoutReload = App.logoutReload;
|
||||
|
||||
rl.i18n = i18n;
|
||||
|
||||
|
|
Loading…
Reference in a new issue