Revision 59788
Added by Argiro Kokogiannaki over 3 years ago
menu.ts | ||
---|---|---|
38 | 38 |
if (!menu.markAsActive) { |
39 | 39 |
return false; |
40 | 40 |
} |
41 |
if (currentRoute == menu.route) {
|
|
41 |
if (menu.route.length > 0 && (currentRoute == menu.route || currentRoute.indexOf(menu.route) != -1)) {
|
|
42 | 42 |
return true; |
43 | 43 |
} else if (menu.items.length > 0) { |
44 | 44 |
for (let menuItem of menu.items) { |
Also available in: Unified diff
[Library|Trunk]
-add check about active menu