fixing the navigation bar highlight for data-stores
This commit is contained in:
parent
a1d98b05ce
commit
7342ed6772
|
@ -77,8 +77,8 @@ export default function NavigationBar() {
|
|||
newActiveKey = '/admin/process-instances';
|
||||
} else if (location.pathname.match(/^\/admin\/configuration\b/)) {
|
||||
newActiveKey = '/admin/configuration';
|
||||
} else if (location.pathname.match(/^\/admin\/datastore\b/)) {
|
||||
newActiveKey = '/admin/datastore';
|
||||
} else if (location.pathname.match(/^\/admin\/data-stores\b/)) {
|
||||
newActiveKey = '/admin/data-stores';
|
||||
} else if (location.pathname === '/') {
|
||||
newActiveKey = '/';
|
||||
} else if (location.pathname.match(/^\/tasks\b/)) {
|
||||
|
|
Loading…
Reference in New Issue