Skip to content

Commit af5f093

Browse files
committed
Revert "fix: fix celldata error"
This reverts commit edc7819.
1 parent e40ee15 commit af5f093

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/devextreme/js/__internal/scheduler/workspaces/m_work_space.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,7 @@ class SchedulerWorkSpace extends Widget<WorkspaceOptionsInternal> {
511511

512512
const isMultiSelectionAllowed = this.option('allowMultipleCellSelection');
513513
const currentCellData = this._getFullCellData($cell);
514-
const focusedCell = this.cellsSelectionState.getFocusedCell();
515-
516-
if (!focusedCell) {
517-
return;
518-
}
519-
520-
const focusedCellData = focusedCell.cellData;
514+
const focusedCellData = this.cellsSelectionState.getFocusedCell().cellData;
521515

522516
const nextFocusedCellData = this.cellsSelectionController.moveToCell({
523517
isMultiSelection,

0 commit comments

Comments
 (0)