autofill fix

This commit is contained in:
Jan Prochazka
2020-05-13 19:53:59 +02:00
parent be80bf730d
commit 66b870f23e

View File

@@ -122,7 +122,7 @@ export function countVisibleRealColumns(columnSizes, firstVisibleColumnScrollInd
} }
export function filterCellForRow(cell, row: number): CellAddress | null { export function filterCellForRow(cell, row: number): CellAddress | null {
return cell && cell[0] == row && _.isString(cell[0]) ? cell : null; return cell && (cell[0] == row || _.isString(cell[0])) ? cell : null;
} }
export function filterCellsForRow(cells, row: number): CellAddress[] | null { export function filterCellsForRow(cells, row: number): CellAddress[] | null {