From e5e0514d9f73fc2c9d8da67abca74d92204ce925 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Mon, 9 Jan 2023 13:28:08 +0000 Subject: [PATCH] Fix regions regex (UI). --- ui/src/components/Menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/Menu.tsx b/ui/src/components/Menu.tsx index f0114d41..9e1c467e 100644 --- a/ui/src/components/Menu.tsx +++ b/ui/src/components/Menu.tsx @@ -124,7 +124,7 @@ class SideMenu extends Component { this.setState({ selectedKey: "ns-device-profile-templates" }); } - if (/\/regions\/.*/g.exec(path)) { + if (/\/regions.*/g.exec(path)) { this.setState({ selectedKey: "ns-regions" }); }