user confirmation (#20538)

This commit is contained in:
Alan Ren
2022-09-02 17:36:30 -07:00
committed by GitHub
parent fa858da1a6
commit 6d4fc1d98c
5 changed files with 41 additions and 10 deletions

View File

@@ -208,7 +208,7 @@ export class TableDesignerComponentInput implements DesignerComponentInput {
return;
}
const dialog = this._instantiationService.createInstance(TableDesignerPublishDialog);
const result = await dialog.open(previewReportResult.report, previewReportResult.mimeType);
const result = await dialog.open(previewReportResult);
if (result === TableDesignerPublishDialogResult.GenerateScript) {
await this.generateScript();
} else if (result === TableDesignerPublishDialogResult.UpdateDatabase) {