Skip to content

Commit

Permalink
rework interviewer condition
Browse files Browse the repository at this point in the history
  • Loading branch information
RenauxLeaInsee committed Jan 4, 2024
1 parent 1456e36 commit 80d8917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Close/CloseSUTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function makeTableForExport(data) {
return header.concat(data.map((line) => ([
line.campaign,
line.id,
`${line.interviewer ? line.interviewer.interviewerLastName : ""} ${line.interviewer ? line.interviewer.interviewerFirstName : ""}`,
`${line.interviewer?.interviewerLastName ?? ""} ${line.interviewer?.interviewerFirstName ?? ""}`,
line.ssech,
line.location ? line.location.substring(0, 2) : null,
line.city,
Expand Down

0 comments on commit 80d8917

Please sign in to comment.