dont remove session exparation model on route chage

This commit is contained in:
2026-04-06 10:23:57 +01:00
parent 4a7a0934de
commit d9984981d1
+7 -7
View File
@@ -106,10 +106,10 @@ export class HomePage implements OnInit {
this.router.events.subscribe((val) => {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove())
document.querySelectorAll('popover-viewport').forEach((e: any) => e.remove())
document.querySelectorAll('.loading-blocker').forEach((e: any) => e.remove())
document.querySelectorAll('ion-popover').forEach((e: any) => e.remove())
// document.querySelectorAll('ion-modal').forEach((e: any) => e.remove())
// document.querySelectorAll('popover-viewport').forEach((e: any) => e.remove())
// document.querySelectorAll('.loading-blocker').forEach((e: any) => e.remove())
// document.querySelectorAll('ion-popover').forEach((e: any) => e.remove())
});
window['platform'] = platform
@@ -118,9 +118,9 @@ export class HomePage implements OnInit {
if (window.location.pathname != '/inactivity' && window.location.pathname != '/') {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove());
document.querySelectorAll('.popover-viewport').forEach((e: any) => e.remove());
document.querySelectorAll('.loading-blocker').forEach((e: any) => e.remove());
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());
const pathname = window.location.pathname
SessionStore.setUrlBeforeInactivity(pathname)