From 8cfdcf4212dd285873ca243a0e614cbab68b6f00 Mon Sep 17 00:00:00 2001 From: danfunk Date: Thu, 13 Jul 2023 13:23:46 -0400 Subject: [PATCH] fixing the navigation bar highlight for data-stores --- spiffworkflow-frontend/src/components/NavigationBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-frontend/src/components/NavigationBar.tsx b/spiffworkflow-frontend/src/components/NavigationBar.tsx index 24314932..935ca691 100644 --- a/spiffworkflow-frontend/src/components/NavigationBar.tsx +++ b/spiffworkflow-frontend/src/components/NavigationBar.tsx @@ -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/)) {