Redirecting to the pages of this app after the login, or refreshing the page the hamburger icon of the sidemenu disappears.
If I restart the app with the user already logged the icon returns back.
This is the side menu:
It’s crazy I know.
So it’s my fault, I don’t know why I wrote this.
So is the command this.menuCtrl.enable(false); that is disabling the menu.
I don’t know why I put this code in a previous version of the app.
Why do say this?
The code of the example is extracted from a real app, I’ve moved the pages into two directories “public” and “members”. The first is for the pages that don’t require authentication the second for the pages that require authentication. I like to have the pages into another directory that “src/app” because I don’t like to have: pages, services, guards, etc. in the same directory.
Were you referring to this?
However, thank you very much for your time and your suggestions.