Fix regions regex (UI).

This commit is contained in:
Orne Brocaar 2023-01-09 13:28:08 +00:00
parent 02d66b8a5d
commit e5e0514d9f

View File

@ -124,7 +124,7 @@ class SideMenu extends Component<RouteComponentProps, IState> {
this.setState({ selectedKey: "ns-device-profile-templates" });
}
if (/\/regions\/.*/g.exec(path)) {
if (/\/regions.*/g.exec(path)) {
this.setState({ selectedKey: "ns-regions" });
}