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

This commit is contained in:
Wout Stiens authored and GitHub committed 2026-08-28 07:15:37 -07:00
1 parent 4c51b4c9b6
commit 9257bd860a
1 file changed
+7 -5
@@ -151,11 +151,13 @@ export const SidebarUtilityMenu = memo(function SidebarUtilityMenu() {
select: (location) =>
/^\/settings(?:\/|$)/.test(location.pathname)
? "settings"
: location.pathname === "/usage"
? "usage"
: location.pathname === "/pull-requests"
? "pull-requests"
: null,
: /^\/projects\/[^/]+\/?$/.test(location.pathname)
? "project-settings"
: location.pathname === "/usage"
? "usage"
: location.pathname === "/pull-requests"
? "pull-requests"
: null,
});
const { environments } = useEnvironments();
// The page reads every connected server, so one of them offering pull requests is enough for