From 69903192a2adc8ed9c31d7d62bc410eb31966355 Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Mon, 27 May 2019 08:48:04 +0200 Subject: [PATCH] Prevent error page flickering on logout --- client/src/app/core/core-services/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/core/core-services/auth.service.ts b/client/src/app/core/core-services/auth.service.ts index 3fa26e962..02755cc09 100644 --- a/client/src/app/core/core-services/auth.service.ts +++ b/client/src/app/core/core-services/auth.service.ts @@ -90,9 +90,9 @@ export class AuthService { } catch (e) { // We do nothing on failures. Reboot OpenSlides anyway. } + this.router.navigate(['/']); await this.DS.clear(); await this.operator.setWhoAmI(response); await this.OpenSlides.reboot(); - this.router.navigate(['/']); } }