Skip to content

Commit 15dd720

Browse files
ScottN-PVclaude
andcommitted
fix(web): Local environment switch stays reachable after turning it off
With the local environment off there is no primary environment, so the Connections section rendered only "No environment selected" and the switch to turn it back on disappeared. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent af3d842 commit 15dd720

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/web/src/components/settings/ConnectionsSettings.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4094,6 +4094,8 @@ export function ConnectionsSettings() {
40944094
title="No environment selected"
40954095
description="Connect an environment to view its settings and access."
40964096
/>
4097+
{/* A turned-off local environment leaves no primary environment, so its switch lives here too. */}
4098+
<LocalEnvironmentSetting />
40974099
{canReadRelay || canManageRelay ? (
40984100
<CloudLinkRow canReadRelay={canReadRelay} canManageRelay={canManageRelay} />
40994101
) : null}

0 commit comments

Comments
 (0)