From cfb4133152502cc11edae426a7c73406c812cd9a Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Thu, 9 Jul 2020 15:11:28 -0500 Subject: [PATCH] Closed alerts on lock (#572) Co-authored-by: Addison Beck --- src/app/app.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6807ec8919..fabd9294af 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -203,6 +203,8 @@ export class AppComponent implements OnDestroy, OnInit { this.toasterService.popAsync('warning', this.i18nService.t('loggedOut'), this.i18nService.t('loginExpired')); } + + Swal.close(); this.router.navigate(['/']); }); }