diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index 6b9d4d97fd..88f8980323 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -152,6 +152,7 @@ const Sidebar = ({ ref?: RefObject; } & ComponentProps) => { const sidebarMinWidth = useContext(SidebarDimensionsContext); + const matchRoute = useMatchRoute(); return ( <>
- - Settings - + {matchRoute({ + to: "/orgs/$organization/projects/$project/ns/$namespace", + fuzzy: true, + }) ? ( + + Settings + + ) : null}