Skip to content

Commit

Permalink
fix(sheet): render after every mutation executed (#3258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dushusir authored Aug 30, 2024
1 parent 317b5be commit 91217dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ export class SheetRenderController extends RxDisposable implements IRenderModule
this._sheetSkeletonManagerService.reCalculate();
}

// @Dushusir Prevent mutations that contain onlyLocal in the formula from rendering. This will be removed after the rpc communication issue is fixed.
if (command.type === CommandType.MUTATION && options?.onlyLocal !== true) {
// All mutations must be executed. Using reCalculate alone will not trigger a refresh.
if (command.type === CommandType.MUTATION) {
this._markUnitDirty(workbookId, command);
}
}));
Expand Down

0 comments on commit 91217dc

Please sign in to comment.