mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Stops Azure connection with the "Do not save" server group option from being stored in the default server group list. (#21997)
* Fix Azure connections do not save to server group error * Revert unnecessary change
This commit is contained in:
@@ -169,8 +169,6 @@ export class MainThreadConnectionManagement extends Disposable implements MainTh
|
|||||||
} : undefined;
|
} : undefined;
|
||||||
|
|
||||||
if (connectionCompletionOptions && connectionCompletionOptions.saveConnection) {
|
if (connectionCompletionOptions && connectionCompletionOptions.saveConnection) {
|
||||||
// Somehow, connectionProfile.saveProfile is false even if initialConnectionProfile.saveProfile is true, reset the flag here.
|
|
||||||
connectionProfile.saveProfile = initialConnectionProfile.saveProfile;
|
|
||||||
await this._connectionManagementService.connectAndSaveProfile(connectionProfile, undefined, {
|
await this._connectionManagementService.connectAndSaveProfile(connectionProfile, undefined, {
|
||||||
saveTheConnection: isUndefinedOrNull(connectionCompletionOptions.saveConnection) ? true : connectionCompletionOptions.saveConnection,
|
saveTheConnection: isUndefinedOrNull(connectionCompletionOptions.saveConnection) ? true : connectionCompletionOptions.saveConnection,
|
||||||
showDashboard: isUndefinedOrNull(connectionCompletionOptions.showDashboard) ? false : connectionCompletionOptions.showDashboard,
|
showDashboard: isUndefinedOrNull(connectionCompletionOptions.showDashboard) ? false : connectionCompletionOptions.showDashboard,
|
||||||
|
|||||||
Reference in New Issue
Block a user