From 152eb32278d5153b338584ca0973b4d9f80f0947 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com> Date: Fri, 31 Mar 2023 11:58:49 -0700 Subject: [PATCH] Fix saving profile from Azure tree nodes (#22518) --- .../workbench/api/browser/mainThreadConnectionManagement.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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