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() {...@@ -4051,6 +4051,8 @@ export function ConnectionsSettings() {
4051 title="No environment selected"4051 title="No environment selected"
4052 description="Connect an environment to view its settings and access."4052 description="Connect an environment to view its settings and access."
4053 />4053 />
4054 {/* A turned-off local environment leaves no primary environment, so its switch lives here too. */}
4055 <LocalEnvironmentSetting />
4054 {canReadRelay || canManageRelay ? (4056 {canReadRelay || canManageRelay ? (
4055 <CloudLinkRow canReadRelay={canReadRelay} canManageRelay={canManageRelay} />4057 <CloudLinkRow canReadRelay={canReadRelay} canManageRelay={canManageRelay} />
4056 ) : null}4058 ) : null}