Skip to content

Commit

Permalink
Resolve issue with findLastRowInRecordSet
Browse files Browse the repository at this point in the history
  • Loading branch information
ngnathan committed Oct 12, 2024
1 parent bf6c045 commit 29ed439
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-mails-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@connectk12/exceljs": patch
---

Resolve issue with findLastRowInRecordSet
2 changes: 1 addition & 1 deletion src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export const findLastRowInRecordSet = ({
});
const lastRowInRecordSet = nextMatchingRow
? worksheet.getRow(nextMatchingRow.number - 1)
: undefined;
: worksheet.getRow(lastRowNumber);
return lastRowInRecordSet;
};

Expand Down

0 comments on commit 29ed439

Please sign in to comment.