@devries-cameron20 / t3code Mirror · read-only / commits / 9257bd860a
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 14:00 UTC

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

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