@fefelegal wrote:
Hi!
I'm not really sure if this is a bug or just me doing things the wrong way.
This is the way I'm managing to logout from my app: I created a Logout page and in the constructor I unset some variables and clear local storage and then redirect to Login with
this.nav.setRoot(LoginPage)
. The only problem is that the setRoot is not working properly. From the console I know the Login page is being loaded because I see all events being logged, but the view (the html itself) won't change to the Login page. Am I doing something wrong?Thanks!
Posts: 6
Participants: 2