From 426fe4c98e3933d2844560d4c198764ea1097c91 Mon Sep 17 00:00:00 2001 From: "tiago.kayaya" Date: Mon, 2 Aug 2021 08:16:03 +0100 Subject: [PATCH] save --- src/app/modals/profile/profile.page.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/modals/profile/profile.page.ts b/src/app/modals/profile/profile.page.ts index dab387804..91bfb4fd2 100644 --- a/src/app/modals/profile/profile.page.ts +++ b/src/app/modals/profile/profile.page.ts @@ -48,8 +48,8 @@ export class ProfilePage implements OnInit { window.localStorage.clear(); setTimeout(()=>{ - window.location.pathname = '/'; - location.reload(); + //window.location.pathname = '/'; + //location.reload(); this.router.navigate(['/']); }, 1000); loader.remove();