mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -05:00
fix update project from db dialog not choosing the db of the connection (#21746)
This commit is contained in:
@@ -250,6 +250,11 @@ export class UpdateProjectFromDatabaseDialog {
|
||||
values: values,
|
||||
value: values[0],
|
||||
});
|
||||
|
||||
// change the database dropdown value to the connection's database if there is one
|
||||
if (connectionProfile.options.database && connectionProfile.options.database !== constants.master) {
|
||||
this.databaseDropdown!.value = connectionProfile.options.database;
|
||||
}
|
||||
}
|
||||
|
||||
this.databaseDropdown!.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user