# Ionic super template sidemenu issue

**URL:** <https://forum.ionicframework.com/t/ionic-super-template-sidemenu-issue/111657>\
**Category:** ionic-v3\
**Created:** [November 10, 2017, 4:51am UTC](https://forum.ionicframework.com/t/ionic-super-template-sidemenu-issue/111657 "2017-11-10T04:51:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YUNHO](https://avatars.discourse-cdn.com/v4/letter/y/858c86/32.png) [@YUNHO](https://forum.ionicframework.com/u/YUNHO)\
**Post date:** [November 10, 2017, 4:51am UTC](https://forum.ionicframework.com/t/ionic-super-template-sidemenu-issue/111657/1 "2017-11-10T04:51:37Z")

</div>

Hello, I have a bug with sidemenu in menu which is in page folder.  
I wanted to use menu module.

so I removed menu tag from app.component template.

it works fine until using below code.

I’m using firebase auth so in app.component It checks auth from firebase so decide a root page.  
when I develop it refresh page and then menu icon is hidden.  
for example.

1. working on [http://localhost:8100/#/menu/content](http://localhost:8100/#/menu/content)
2. if refresh page
3. ion-nav which is app.component.ts template is load over menu.html
4. so menu button is hidden  
How can I solve this isuue?

Please Help me.

```auto
platform.ready().then(() => {
const authObserver = this.afAuth.authState.subscribe(user => {
if(user){
   this.rootPage = 'MenuPage';
}else{
this.rootPage = 'WelcomePage';
}
});
}

```

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 10:06pm UTC](https://forum.ionicframework.com/t/ionic-super-template-sidemenu-issue/111657/2 "2021-07-19T22:06:11Z")

</div>

Closed on July 19, 2021, 10:06pm UTC


