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

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Scott NortemanandClaude Opus 5.5 authored and GitHub committed 2026-10-09 12:44:03 -03:00
1 parent ec80933ac8
commit 2cf0ff0643
1 file changed
+2
@@ -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. */}
<LocalEnvironmentSetting />
{canReadRelay || canManageRelay ? (
<CloudLinkRow canReadRelay={canReadRelay} canManageRelay={canManageRelay} />
) : null}