mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
remove modals on logout
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user