Running into an issue with navigating back to the login screen using Ionic V2.
Started with the V2 tabs template but added a custom login page, setting rootPage = LoginPage;
in app.components.ts
.
When the login promise is successful, I used this.nav.setRoot(TabsPage)
in login.ts
and everything was working smoothly.
The problem arises upon logging out - after setting this.nav.setRoot(LoginPage)
in home.ts
, the app directs to the login page but the bottom tabs remain visible.
How can I refresh the login screen without the tabs showing up after log out?