mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-17 06:48:24 +00:00
Fix regions regex (UI).
This commit is contained in:
@ -124,7 +124,7 @@ class SideMenu extends Component<RouteComponentProps, IState> {
|
|||||||
this.setState({ selectedKey: "ns-device-profile-templates" });
|
this.setState({ selectedKey: "ns-device-profile-templates" });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (/\/regions\/.*/g.exec(path)) {
|
if (/\/regions.*/g.exec(path)) {
|
||||||
this.setState({ selectedKey: "ns-regions" });
|
this.setState({ selectedKey: "ns-regions" });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user