diff --git a/src/app/core/user/use-case/user-log-out-use-case.service.ts b/src/app/core/user/use-case/user-log-out-use-case.service.ts index f102cad89..54590662c 100644 --- a/src/app/core/user/use-case/user-log-out-use-case.service.ts +++ b/src/app/core/user/use-case/user-log-out-use-case.service.ts @@ -31,6 +31,11 @@ export class UserLogOutUseCaseService { SessionStore.setUrlBeforeInactivity(this.router.url); logoutOut == false + + document.querySelectorAll('ion-modal:not(.keep-this)').forEach((e: any) => e.remove()); + document.querySelectorAll('.popover-viewport:not(.keep-this) ').forEach((e: any) => e.remove()); + document.querySelectorAll('.loading-blocker:not(.keep-this)').forEach((e: any) => e.remove()); + if (environment.production) { window.location.pathname = '/auth' this.notificationService.DeletePostToken()