mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
@ -263,7 +263,7 @@ export class MenuController {
|
||||
if (menu) return menu;
|
||||
|
||||
// not found by "id", next try by "side"
|
||||
menu = this._menus.find(m => m.side === menuId && m._isEnabled);
|
||||
menu = this._menus.find(m => m.side === menuId && m.enabled);
|
||||
if (menu) return menu;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user