mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
connection widget wasn't getting the correct account for the dialog (#9834)
This commit is contained in:
@@ -698,7 +698,7 @@ export class ConnectionWidget extends lifecycle.Disposable {
|
|||||||
if (this.authType === AuthenticationType.AzureMFA || this.authType === AuthenticationType.AzureMFAAndUser) {
|
if (this.authType === AuthenticationType.AzureMFA || this.authType === AuthenticationType.AzureMFAAndUser) {
|
||||||
this.fillInAzureAccountOptions().then(async () => {
|
this.fillInAzureAccountOptions().then(async () => {
|
||||||
let accountName = (this.authType === AuthenticationType.AzureMFA)
|
let accountName = (this.authType === AuthenticationType.AzureMFA)
|
||||||
? connectionInfo.userName : connectionInfo.azureAccount;
|
? connectionInfo.azureAccount : connectionInfo.userName;
|
||||||
this._azureAccountDropdown.selectWithOptionName(this.getModelValue(accountName));
|
this._azureAccountDropdown.selectWithOptionName(this.getModelValue(accountName));
|
||||||
await this.onAzureAccountSelected();
|
await this.onAzureAccountSelected();
|
||||||
let tenantId = connectionInfo.azureTenantId;
|
let tenantId = connectionInfo.azureTenantId;
|
||||||
|
|||||||
Reference in New Issue
Block a user