Skip to content

Commit 2cf0ff0

Browse files
ScottN-PVclaude
andauthored
fix(web): Local environment switch stays reachable after turning it off (pingdotgg#17359)
Co-authored-by: Claude Opus 5.5 <[email protected]>
1 parent ec80933 commit 2cf0ff0

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
@@ -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}

0 commit comments

Comments
 (0)