remove modals on logout

This commit is contained in:
2026-04-06 13:21:30 +01:00
parent 54411bc20c
commit ec57a046ee
@@ -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()