authorgravatar for snorteman@gmail.comScott Norteman <snorteman@gmail.com> 2026-10-09 11:44:03-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-09 12:44:03-03:00
log2cf0ff0643e23d13658114fbf3a7e76753559755
treee7a70e3ad8367c758f4c087b27fd2edff2d0d6f3
parentec80933ac8cd02fec5c97b342462ccc9567cdb1e
signature Signed by PGP key B5690EEEBB952194

fix(web): Local environment switch stays reachable after turning it off (#17359)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1 files changed, 2 insertions(+), 0 deletions(-)

apps/web/src/components/settings/ConnectionsSettings.tsx+2
......@@ -4051,6 +4051,8 @@ export function ConnectionsSettings() {
40514051 title="No environment selected"
40524052 description="Connect an environment to view its settings and access."
40534053 />
4054 {/* A turned-off local environment leaves no primary environment, so its switch lives here too. */}
4055 <LocalEnvironmentSetting />
40544056 {canReadRelay || canManageRelay ? (
40554057 <CloudLinkRow canReadRelay={canReadRelay} canManageRelay={canManageRelay} />
40564058 ) : null}