nb-menuitem: routerlink active not updating when using parametrs
Open
- Dominant language
- TypeScript
- Stars
- 8.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue type
**I'm submitting a ...
* [ x] bug report
### Issue description
**Current behavior:**
When defining routes without parameters e.g:
` {
path: 'assets/hw',
component: AssetsHardwareComponent,
},`
the active route is updated in NbMenuItem.
When adding a parameter e.g:
` {
path: 'assets/hw/:id',
component: AssetsHardwareComponent,
},`
the active route is NOT updated and the old Navigation Item stays active.
**Expected behavior:**
Active nbmenuitem should be updated when using parameters.
**Steps to reproduce:**
define route with parameter `(:id)`
Contributor guide
Assessment
This issue has not been assessed yet.