From 2cf0ff0643e23d13658114fbf3a7e76753559755 Mon Sep 17 00:00:00 2001 From: Scott Norteman Date: Fri, 9 Oct 2026 11:44:03 -0400 Subject: [PATCH] fix(web): Local environment switch stays reachable after turning it off (#17359) Co-authored-by: Claude Opus 5.5 --- apps/web/src/components/settings/ConnectionsSettings.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/components/settings/ConnectionsSettings.tsx b/apps/web/src/components/settings/ConnectionsSettings.tsx index a8d9d961a6c8e7436313ba159bc90043ac385fc9..f0f98df7876decc6de516b9dc5c0f00cb63e5371 100644 --- a/apps/web/src/components/settings/ConnectionsSettings.tsx +++ b/apps/web/src/components/settings/ConnectionsSettings.tsx @@ -4051,6 +4051,8 @@ export function ConnectionsSettings() { title="No environment selected" description="Connect an environment to view its settings and access." /> + {/* A turned-off local environment leaves no primary environment, so its switch lives here too. */} + {canReadRelay || canManageRelay ? ( ) : null} -- 2.54.0