diff --git a/src/sql/workbench/api/browser/mainThreadConnectionManagement.ts b/src/sql/workbench/api/browser/mainThreadConnectionManagement.ts index 1cd51e708e..09b9f3ab65 100644 --- a/src/sql/workbench/api/browser/mainThreadConnectionManagement.ts +++ b/src/sql/workbench/api/browser/mainThreadConnectionManagement.ts @@ -146,8 +146,8 @@ export class MainThreadConnectionManagement extends Disposable implements MainTh return undefined; } - // Here we default to ConnectionType.editor which saves the connecton in the connection store by default - let connectionType = ConnectionType.editor; + // Here we default to ConnectionType.default which saves the connection in the connection store and server tree by default + let connectionType = ConnectionType.default; // If the API call explicitly set saveConnection to false, set it to ConnectionType.extension // which doesn't save the connection by default