mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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:
@@ -104,12 +104,12 @@ export abstract class DacFxConfigPage extends BasePage {
|
||||
|
||||
// Handle database changes
|
||||
this.databaseDropdown.onValueChanged(() => {
|
||||
const databaseDropdownValue = this.databaseDropdown.value;
|
||||
const databaseDropdownValue: string = this.databaseDropdown.value as string;
|
||||
if (!databaseDropdownValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.model.database = databaseDropdownValue as string;
|
||||
this.model.database = databaseDropdownValue;
|
||||
this.fileTextBox.value = this.generateFilePathFromDatabaseAndTimestamp();
|
||||
this.model.filePath = this.fileTextBox.value;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user