Skip to content

Commit

Permalink
fix(sheet): rename command
Browse files Browse the repository at this point in the history
  • Loading branch information
Dushusir committed Oct 14, 2024
1 parent ecb75a1 commit ed84bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/facade/src/apis/sheets/f-worksheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import type { FilterModel } from '@univerjs/sheets-filter';
import type { FWorkbook, IFICanvasFloatDom } from './f-workbook';
import { Direction, ICommandService, Inject, Injector, RANGE_TYPE } from '@univerjs/core';
import { deserializeRangeWithSheet } from '@univerjs/engine-formula';
import { copyRangeStyles, InsertColCommand, InsertRowCommand, MoveColsCommand, MoveRowsCommand, RemoveColCommand, RemoveRowCommand, SetColHiddenCommand, SetColumnCustomCommand, SetColWidthCommand, SetFrozenCommand, SetRowCustomCommand, SetRowHeightCommand, SetRowHiddenCommand, SetSpecificColsVisibleCommand, SetSpecificRowsVisibleCommand, SetWorksheetRowIsAutoHeightCommand, SheetsSelectionsService } from '@univerjs/sheets';
import { copyRangeStyles, InsertColCommand, InsertRowCommand, MoveColsCommand, MoveRowsCommand, RemoveColCommand, RemoveRowCommand, SetColHiddenCommand, SetColCustomCommand, SetColWidthCommand, SetFrozenCommand, SetRowCustomCommand, SetRowHeightCommand, SetRowHiddenCommand, SetSpecificColsVisibleCommand, SetSpecificRowsVisibleCommand, SetWorksheetRowIsAutoHeightCommand, SheetsSelectionsService } from '@univerjs/sheets';
import { DataValidationModel, SheetsDataValidationValidatorService } from '@univerjs/sheets-data-validation';
import { SheetCanvasFloatDomManagerService } from '@univerjs/sheets-drawing-ui';
import { SheetsFilterService } from '@univerjs/sheets-filter';
Expand Down Expand Up @@ -919,7 +919,7 @@ export class FWorksheet {
const unitId = this._workbook.getUnitId();
const subUnitId = this._worksheet.getSheetId();

await this._commandService.executeCommand(SetColumnCustomCommand.id, {
await this._commandService.executeCommand(SetColCustomCommand.id, {
unitId,
subUnitId,
custom,
Expand Down

0 comments on commit ed84bbb

Please sign in to comment.