12666 Passed azureAccount into onFetchDatabases and set on tempProfile. (#13239)

This commit is contained in:
Justin M
2020-11-16 11:24:22 -08:00
committed by GitHub
parent b57bf53b67
commit c18a54bc1d
4 changed files with 8 additions and 5 deletions

View File

@@ -364,7 +364,7 @@ export class ConnectionWidget extends lifecycle.Disposable {
this._databaseDropdownExpanded = true;
if (this.serverName) {
this._databaseNameInputBox.values = [this._loadingDatabaseName];
this._callbacks.onFetchDatabases(this.serverName, this.authenticationType, this.userName, this._password).then(databases => {
this._callbacks.onFetchDatabases(this.serverName, this.authenticationType, this.userName, this._password, this.azureAccount).then(databases => {
if (databases) {
this._databaseNameInputBox.values = databases.sort((a, b) => a.localeCompare(b));
} else {