active menu item not detected when use queryParams
- Langage dominant
- TypeScript
- Étoiles
- 25.7k
- Forks
- 7.9k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Issue type
**I'm submitting a ...** (check one with "x")
* [x] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository
### Issue description
**Current behavior:**
I am using this menuItems:
```
{
"title": "Dashboard",
"icon": "home-outline",
"link": "/pages/dash",
"queryParams": {
"dashboard": "x"
},
"home": true,
},
{
"title": "Dashboard2",
"icon": "home-outline",
"link": "/pages/dash",
"queryParams": {
"dashboard": "y"
}
},
{
"title": "Dashboard3",
"icon": "home-outline",
"link": "/pages/dash",
"queryParams": {
"dashboard": "z"
}
}
```
when i click on Dashboard, i expected to change item color in menus!
even for Dashboard2 and Dashboard3
**Expected behavior:**
for e.g.: I expected to change Dashboard2 item color in menu when i clicked on it in the menu
**Steps to reproduce:**
**Related code:**
```
insert short code snippets here
```
### Other information:
**npm, node, OS, Browser**
```
```
**Angular, Nebular**
```
Angular: 8.2.7
Nebular: 4.2.1
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.