Show message to recompare when schema compare options change (#5690)

* add message to recompare if options changed

* changes after rebasing

* Add compare button to notification

* remove async

* change to yes and no button
This commit is contained in:
kisantia
2019-05-28 16:46:44 -07:00
committed by GitHub
parent e8b20c86c1
commit 9a55ca3021
2 changed files with 18 additions and 3 deletions

View File

@@ -382,7 +382,7 @@ export class SchemaCompareResult {
return script;
}
private startCompare(): void {
public startCompare(): void {
this.flexModel.removeItem(this.splitView);
this.flexModel.removeItem(this.noDifferencesLabel);
this.flexModel.removeItem(this.startText);
@@ -467,7 +467,7 @@ export class SchemaCompareResult {
this.deploymentOptions = this.schemaCompareOptionDialog.deploymentOptions;
}
// create fresh every time
this.schemaCompareOptionDialog = new SchemaCompareOptionsDialog(this.deploymentOptions);
this.schemaCompareOptionDialog = new SchemaCompareOptionsDialog(this.deploymentOptions, this);
await this.schemaCompareOptionDialog.openDialog();
});
}