From 470992d9efface76dc3bd00930b6048412721441 Mon Sep 17 00:00:00 2001 From: Kacper Wojciechowski <39823706+jog1t@users.noreply.github.com> Date: Mon, 19 Jan 2026 23:04:39 +0100 Subject: [PATCH] fix(dashboard): resource not found when navigating to settings on projects page --- frontend/src/app/layout.tsx | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) 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}