Skip to content

Commit 200847c

Browse files
fix(connections): retain explicit off during paused platform refreshes
1 parent e4c8b6f commit 200847c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/client-runtime/src/connection/registry.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ export const make = Effect.gen(function* () {
609609
const entry: ConnectionCatalogEntry =
610610
previous?.unsupportedReason !== undefined &&
611611
gitHubRoutingConnectionKey(previous) === gitHubRoutingConnectionKey(registered)
612-
? { ...registered, ...unsupportedState(previous) }
612+
? { ...registered, enabled: previous.enabled, ...unsupportedState(previous) }
613613
: registered;
614614
const persisted = (yield* Ref.get(persistedEnvironmentIds)).has(target.environmentId);
615615
if (

0 commit comments

Comments
 (0)