nb-menuitem: routerlink active not updating when using parametrs
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 8.1k
- Fork
- 1.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 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)`
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.