Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(formula): from changeset initialize data (#6600)

Univer0c673886e7e5
diff --git a/packages/sheets-formula/src/controllers/update-formula.controller.ts b/packages/sheets-formula/src/controllers/update-formula.controller.ts
index 65c4bba007..892cf9bf9f 100644
--- a/packages/sheets-formula/src/controllers/update-formula.controller.ts
+++ b/packages/sheets-formula/src/controllers/update-formula.controller.ts
@@ -114,6 +114,7 @@ export class UpdateFormulaController extends Disposable {
if (
(options && options.onlyLocal === true) ||
(options && options.syncOnly === true) ||
+ (options && options.fromChangeset === true) ||
params.trigger === SetStyleCommand.id ||
params.trigger === SetBorderCommand.id ||
params.trigger === ClearSelectionFormatCommand.id ||