Skip to content

Commit

Permalink
fix: downloading records with empty resource question
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus-relief committed Apr 4, 2024
1 parent 806ca64 commit a938463
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils/files/getRows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ export const getRows = async (
recordId,
'data incrementalId'
);

if (!resourceRecord) {
set(row, column.name, '');
break;
}
const value =
column.importField === DEFAULT_IMPORT_FIELD.incID
? resourceRecord.incrementalId
Expand Down

0 comments on commit a938463

Please sign in to comment.