authorgravatar for 71498452+StiensWout@users.noreply.github.comWout Stiens <71498452+StiensWout@users.noreply.github.com> 2026-08-28 16:15:37+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-28 07:15:37-07:00
log9257bd860a44ce2a324c917ca66a1a81e73607bd
tree26b3704a5d37a919f5bba57744bebc5b3637c73a
parent4c51b4c9b6a85d96a22e0df41d5cfd2d8fc9901d
signature Signed by PGP key B5690EEEBB952194

fix(web): add back button to project settings (#8168)


1 files changed, 7 insertions(+), 5 deletions(-)

apps/web/src/components/sidebar/SidebarChrome.tsx+7-5
...@@ -151,11 +151,13 @@ export const SidebarUtilityMenu = memo(function SidebarUtilityMenu() {...@@ -151,11 +151,13 @@ export const SidebarUtilityMenu = memo(function SidebarUtilityMenu() {
151 select: (location) =>151 select: (location) =>
152 /^\/settings(?:\/|$)/.test(location.pathname)152 /^\/settings(?:\/|$)/.test(location.pathname)
153 ? "settings"153 ? "settings"
154 : location.pathname === "/usage"154 : /^\/projects\/[^/]+\/?$/.test(location.pathname)
155 ? "usage"155 ? "project-settings"
156 : location.pathname === "/pull-requests"156 : location.pathname === "/usage"
157 ? "pull-requests"157 ? "usage"
158 : null,158 : location.pathname === "/pull-requests"
159 ? "pull-requests"
160 : null,
159 });161 });
160 const { environments } = useEnvironments();162 const { environments } = useEnvironments();
161 // The page reads every connected server, so one of them offering pull requests is enough for163 // The page reads every connected server, so one of them offering pull requests is enough for