akveo / akveo/ngx-admin

active menu item not detected when use queryParams

未关闭
#5,722 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
25.7k
派生
7.9k
PR 合并指标
30 天内没有已合并 PR

描述

### 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
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。