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 want to highlight the pathMatch 'menu' when user redirect to the child page, but it doesn't work
Expected behavior:
I want to highlight the pathMatch 'menu' when user redirect to the child page
Steps to reproduce:
Here is the menu setting snap:
{
title: 'Order Manage',
icon: 'nb-grid-b',
children: [
{
title: 'Order List',
link: '/pages/order/order-list',
},
{
title: 'Order Detail',
link: '/pages/order/order-detail',
pathMatch: 'order-list',
hidden: true
}
],
},
refer to the above code, the menu 'order-detail' is hidden as expected, but when I redirect to the path 'http://localhost:4200/#/pages/order/order-detail', the menu 'order-list' doesn't be highlighted as expected, please advise. Thanks in advance
Related code:
insert short code snippets here
Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->
Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->