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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(sheet): fix range theme cmd param error (#4542)
VicKunb55877bf4afc
diff --git a/packages/sheets/src/commands/commands/register-range-theme.command.ts b/packages/sheets/src/commands/commands/register-range-theme.command.tsindex 054991e487..b65fa80c15 100644--- a/packages/sheets/src/commands/commands/register-range-theme.command.ts+++ b/packages/sheets/src/commands/commands/register-range-theme.command.ts@@ -50,7 +50,7 @@ export const RegisterWorksheetRangeThemeStyleCommand: ICommand<IRegisterWorksheeunitId,themeName: rangeThemeStyle.getName(),};- const result = commandService.syncExecuteCommand(RegisterWorksheetRangeThemeStyleMutation.id, params);+ const result = commandService.syncExecuteCommand(RegisterWorksheetRangeThemeStyleMutation.id, redoParam);if (result) {undoRedoService.pushUndoRedo({unitID: unitId,