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.

chore: fix mutation name (#3829)

Wenzhao Hua8332c6cf0f1
diff --git a/packages/sheets/src/commands/mutations/toggle-gridlines.mutation.ts b/packages/sheets/src/commands/mutations/toggle-gridlines.mutation.ts
index c108e10553..fa95387dac 100644
--- a/packages/sheets/src/commands/mutations/toggle-gridlines.mutation.ts
+++ b/packages/sheets/src/commands/mutations/toggle-gridlines.mutation.ts
@@ -25,7 +25,7 @@ export interface IToggleGridlinesMutationParams {
}
export const ToggleGridlinesMutation: IMutation<IToggleGridlinesMutationParams> = {
- id: 'sheet.mutation.set-hide-gridlines',
+ id: 'sheet.mutation.toggle-gridlines',
type: CommandType.MUTATION,
handler: (accessor, params) => {
const target = getSheetCommandTarget(accessor.get(IUniverInstanceService), params);