Cleanup logoutReload()

This commit is contained in:
djmaze 2021-03-24 14:14:21 +01:00
parent 09f76d809b
commit 658ac816c8
2 changed files with 2 additions and 2 deletions

View file

@ -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
View file

@ -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;