From ba271ae6f8d77dc8977542e4ff1f679904b4f7c9 Mon Sep 17 00:00:00 2001 From: Brett Saviano Date: Thu, 9 Apr 2026 06:23:58 -0400 Subject: [PATCH] Fix issue that causes client-side connections to be forced active --- src/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/index.ts b/src/api/index.ts index adf557a1..48cd7175 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -233,7 +233,7 @@ export class AtelierAPI { } = getResolvedConnectionSpec(serverName, config("intersystems.servers", workspaceFolderName).get(serverName)); this._config = { serverName, - active: !inactiveServerIds.has(serverName), + active: this.externalServer ? !inactiveServerIds.has(serverName) : conn.active, apiVersion: workspaceState.get(this.configName.toLowerCase() + ":apiVersion", DEFAULT_API_VERSION), serverVersion: workspaceState.get(this.configName.toLowerCase() + ":serverVersion", DEFAULT_SERVER_VERSION), https: scheme === "https",