Fix database not getting set correctly in DacFx wizard deploy scenario (#3641)

* fix db not getting set correctly for deploy scenario if coming from import page

* removed space so that comments go directly after //
This commit is contained in:
kisantia
2018-12-19 18:45:40 -05:00
committed by GitHub
parent db145b4999
commit 5367101330

View File

@@ -172,7 +172,8 @@ export class DeployConfigPage extends DacFxConfigPage {
} }
let values = await this.getDatabaseValues(); let values = await this.getDatabaseValues();
if (this.model.database === undefined) { //set the database to the first dropdown value if upgrading, otherwise it should get set to the textbox value
if (this.model.upgradeExisting) {
this.model.database = values[0].name; this.model.database = values[0].name;
} }