diff --git a/frontend-react/src/components/root/NavItem.tsx b/frontend-react/src/components/root/NavItem.tsx index 9783e6c09..b6cbe62fc 100644 --- a/frontend-react/src/components/root/NavItem.tsx +++ b/frontend-react/src/components/root/NavItem.tsx @@ -17,7 +17,7 @@ const NavItem: React.FC = ({ to, icon, title }) => { const location = useLocation() const isActive = - location.pathname.indexOf(to) !== -1 && location.pathname !== "/" + location.pathname.indexOf("/" + to) !== -1 && location.pathname !== "/" return (