mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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,
|
values: values,
|
||||||
value: values[0],
|
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;
|
this.databaseDropdown!.loading = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user