Skip to content

Commit

Permalink
fix(menu): fix enabled check
Browse files Browse the repository at this point in the history
references #5535
  • Loading branch information
brandyscarney committed Feb 20, 2016
1 parent 5f31df0 commit 8564d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ionic/components/menu/menu-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8564d79

Please sign in to comment.