check state before saving (#19803)

This commit is contained in:
Alan Ren
2022-06-22 16:58:19 -07:00
committed by GitHub
parent 800f2cebb5
commit 3afe842a75

View File

@@ -183,6 +183,9 @@ export class TableDesignerComponentInput implements DesignerComponentInput {
}
async save(): Promise<void> {
if (!this.isDirty()) {
return;
}
if (this.tableDesignerView?.useAdvancedSaveMode) {
await this.openPublishDialog();
} else {