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:
Hi,
this is the repository on GitHub .
You can download it and run ânpm installâ.
You can log in with any username and password, it is always accepted.
I execute the app with: ionic serve -lcs
After the login, you are redirected to a page that has the hamburger but it isnât shown (it should be visible, because the page contains the menu). This is the first problem.
If you stop the app and execute again âionic serve -lcsâ the page appears with the hamburger menu, and you can use it.
if you refresh the page, the hamburger disappears again. This is the second problem.
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.