Skip to content

Commit

Permalink
Fix tests (part 4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alyar committed Oct 15, 2024
1 parent 34605a8 commit 6c88bc9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,12 @@ export const prevColumnIsFixed = function (
isDataColumn = false,
): boolean {
const visibleColumns = that.getVisibleColumns(isDataColumn ? null : rowIndex);
const parentColumn = !isDataColumn && that.getParentColumn(column);
const parentColumn = that.getParentColumn(column);

if (parentColumn) {
const isFirstColumn = that.isFirstColumn(column, rowIndex, true);

if (isFirstColumn) {
return prevColumnIsFixedCore(that, parentColumn, that.getVisibleColumns(0), 0);
}
return isFirstColumn && prevColumnIsFixedCore(that, parentColumn, that.getVisibleColumns(0), 0);
}

return prevColumnIsFixedCore(that, column, visibleColumns, rowIndex);
Expand Down

0 comments on commit 6c88bc9

Please sign in to comment.