Skip to content

Commit

Permalink
fix: update saved status if not loading data
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Jul 2, 2024
1 parent 04f20dc commit f1261da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Editor/CressTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export class CressTable {
dropdownMenu: true,
className: 'table-menu-btn',
licenseKey: 'non-commercial-and-evaluation',
afterChange() {
setSavedStatus(false);
afterChange(changes, source) {
if (source != 'loadData') setSavedStatus(false);
this.validateCells();
},
beforeValidate: (value) => this.setProcessStatus(value),
Expand Down

0 comments on commit f1261da

Please sign in to comment.