mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix deploy upgrade existing not choosing the correct database (#14635)
* fix deploy upgrade existing not choosing the correct database * fix test * specify databaseDropdownValue as a string
This commit is contained in:
@@ -142,12 +142,12 @@ export class DeployConfigPage extends DacFxConfigPage {
|
||||
|
||||
//Handle database changes
|
||||
this.databaseDropdown.onValueChanged(() => {
|
||||
const databaseDropdownValue = this.databaseDropdown.value as azdata.CategoryValue;
|
||||
const databaseDropdownValue: string = this.databaseDropdown.value as string;
|
||||
if (!databaseDropdownValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.model.database = databaseDropdownValue.name;
|
||||
this.model.database = databaseDropdownValue;
|
||||
});
|
||||
|
||||
this.databaseLoader = this.view.modelBuilder.loadingComponent().withItem(this.databaseDropdown).withProperties({
|
||||
|
||||
Reference in New Issue
Block a user