SlideMenu routerLink doesn't work because of a bug in the template #3074
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/TWbSHAHHTToyEJlNrDnI?p=preview
Current behavior
Menu item has routerLink Property but it doesn't appear on markup.
Similar to: #2533
Suggestion: in the template item points to wrong object (item.routerLink is wrong).
Expected behavior
Manu item has to have routerLink attribute on markup.
Suggestion: change item.routerLink => child.routerLink
After the change SlideMenu works fine.
Minimal reproduction of the problem with instructions
Problem appears on render menu.
What is the motivation / use case for changing the behavior?
The SlideMenu is convenient component for site navigation.
Please tell us about your environment:
macOS Sierra
Language: [TypeScript X.X]
Node (for AoT issues):
node --version
= v7.10.0The text was updated successfully, but these errors were encountered: