mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove modals on logout
This commit is contained in:
@@ -31,6 +31,11 @@ export class UserLogOutUseCaseService {
|
|||||||
SessionStore.setUrlBeforeInactivity(this.router.url);
|
SessionStore.setUrlBeforeInactivity(this.router.url);
|
||||||
logoutOut == false
|
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) {
|
if (environment.production) {
|
||||||
window.location.pathname = '/auth'
|
window.location.pathname = '/auth'
|
||||||
this.notificationService.DeletePostToken()
|
this.notificationService.DeletePostToken()
|
||||||
|
|||||||
Reference in New Issue
Block a user