MOBILE-2312 course: Fix main menu duplicated tabs
This commit is contained in:
parent
efb47aa58e
commit
c667205064
@ -80,7 +80,7 @@ export class CoreMainMenuPage implements OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.subscription = this.menuDelegate.getHandlers().subscribe((handlers) => {
|
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.
|
// Check if handlers are already in tabs. Add the ones that aren't.
|
||||||
// @todo: https://github.com/ionic-team/ionic/issues/13633
|
// @todo: https://github.com/ionic-team/ionic/issues/13633
|
||||||
|
Loading…
x
Reference in New Issue
Block a user