Some account switch reload improvements

This commit is contained in:
djmaze 2021-11-12 09:36:08 +01:00
parent 9b0f9be23c
commit ce413b7b7a
7 changed files with 41 additions and 37 deletions

View file

@ -23,11 +23,9 @@ export class AbstractApp {
this.Remote = Remote;
}
logoutReload(close = false) {
logoutReload() {
const url = logoutLink();
close && window.close && window.close();
if (location.href !== url) {
setTimeout(() => (Settings.app('inIframe') ? parent : window).location.href = url, 100);
} else {