mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Cleanup publish database dialog and test sqllint errors (#11178)
* cleanup publish database dialog and test * fix more tests * fix other tests * add back skips * use Promise.resolve()
This commit is contained in:
@@ -253,7 +253,7 @@ export class PublishDatabaseDialog {
|
||||
}).component();
|
||||
|
||||
this.connectionsRadioButton.checked = true;
|
||||
this.connectionsRadioButton.onDidClick(async () => {
|
||||
this.connectionsRadioButton.onDidClick(() => {
|
||||
this.formBuilder!.removeFormItem(<azdata.FormComponent>this.dataSourcesFormComponent);
|
||||
this.formBuilder!.insertFormItem(<azdata.FormComponent>this.targetConnectionFormComponent, 2);
|
||||
this.connectionIsDataSource = false;
|
||||
@@ -266,7 +266,7 @@ export class PublishDatabaseDialog {
|
||||
label: constants.dataSourceRadioButtonLabel
|
||||
}).component();
|
||||
|
||||
this.dataSourcesRadioButton.onDidClick(async () => {
|
||||
this.dataSourcesRadioButton.onDidClick(() => {
|
||||
this.formBuilder!.removeFormItem(<azdata.FormComponent>this.targetConnectionFormComponent);
|
||||
this.formBuilder!.insertFormItem(<azdata.FormComponent>this.dataSourcesFormComponent, 2);
|
||||
this.connectionIsDataSource = true;
|
||||
@@ -423,7 +423,7 @@ export class PublishDatabaseDialog {
|
||||
this.profileSqlCmdVars = result.sqlCmdVariables;
|
||||
const data = this.convertSqlCmdVarsToTableFormat(this.getSqlCmdVariablesForPublish());
|
||||
|
||||
(<azdata.TableComponent>this.sqlCmdVariablesTable).updateProperties({
|
||||
await (<azdata.TableComponent>this.sqlCmdVariablesTable).updateProperties({
|
||||
data: data
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user