fix a couple things in create project from db dialog (#14511)

This commit is contained in:
Kim Santiago
2021-03-03 10:33:52 -08:00
committed by GitHub
parent 625c4520da
commit cea55560e8
3 changed files with 20 additions and 8 deletions

View File

@@ -227,9 +227,11 @@ export class CreateProjectFromDatabaseDialog {
// populate database dropdown with the databases for this connection
if (connectionId) {
this.sourceDatabaseDropDown!.loading = true;
const databaseValues = await azdata.connection.listDatabases(connectionId);
this.sourceDatabaseDropDown!.values = databaseValues;
this.sourceDatabaseDropDown!.loading = false;
this.connectionId = connectionId;
}