mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fix dacpac dropdowns selecting first db in dropdown instead of right clicked db (#14285)
This commit is contained in:
@@ -141,8 +141,13 @@ export class DeployConfigPage extends DacFxConfigPage {
|
||||
}).component();
|
||||
|
||||
//Handle database changes
|
||||
this.databaseDropdown.onValueChanged(async () => {
|
||||
this.model.database = (<azdata.CategoryValue>this.databaseDropdown.value).name;
|
||||
this.databaseDropdown.onValueChanged(() => {
|
||||
const databaseDropdownValue = this.databaseDropdown.value as azdata.CategoryValue;
|
||||
if (!databaseDropdownValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.model.database = databaseDropdownValue.name;
|
||||
});
|
||||
|
||||
this.databaseLoader = this.view.modelBuilder.loadingComponent().withItem(this.databaseDropdown).withProperties({
|
||||
|
||||
Reference in New Issue
Block a user