MOBILE-2312 course: Fix main menu duplicated tabs

main
Dani Palou 2018-01-15 09:29:27 +01:00
parent efb47aa58e
commit c667205064
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ export class CoreMainMenuPage implements OnDestroy {
}
this.subscription = this.menuDelegate.getHandlers().subscribe((handlers) => {
this.tabs = handlers.slice(0, CoreMainMenuProvider.NUM_MAIN_HANDLERS); // Get main handlers.
handlers = handlers.slice(0, CoreMainMenuProvider.NUM_MAIN_HANDLERS); // Get main handlers.
// Check if handlers are already in tabs. Add the ones that aren't.
// @todo: https://github.com/ionic-team/ionic/issues/13633