fixing the navigation bar highlight for data-stores

This commit is contained in:
danfunk 2023-07-13 13:23:46 -04:00
parent a1d98b05ce
commit 7342ed6772
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ export default function NavigationBar() {
newActiveKey = '/admin/process-instances'; newActiveKey = '/admin/process-instances';
} else if (location.pathname.match(/^\/admin\/configuration\b/)) { } else if (location.pathname.match(/^\/admin\/configuration\b/)) {
newActiveKey = '/admin/configuration'; newActiveKey = '/admin/configuration';
} else if (location.pathname.match(/^\/admin\/datastore\b/)) { } else if (location.pathname.match(/^\/admin\/data-stores\b/)) {
newActiveKey = '/admin/datastore'; newActiveKey = '/admin/data-stores';
} else if (location.pathname === '/') { } else if (location.pathname === '/') {
newActiveKey = '/'; newActiveKey = '/';
} else if (location.pathname.match(/^\/tasks\b/)) { } else if (location.pathname.match(/^\/tasks\b/)) {