diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index d4f8690a8..99ff34d3a 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -136,6 +136,8 @@ export class AppComponent { this.showMenu = false this.patch.stop() this.storage.clear() + if (this.errToast) this.errToast.dismiss() + if (this.offlineToast) this.offlineToast.dismiss() this.router.navigate(['/login'], { replaceUrl: true }) } })