Skip to content

Commit

Permalink
fix: return undefined instead of error when no data custodian
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois committed Jan 4, 2024
1 parent efe4e25 commit 00f3ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data_search/DatasetSearchTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const DatasetSearchTable = (props) => {
truncate: true,
},
{
value: entry[0].study.dataCustodianEmail.join(', '),
value: entry[0].study.dataCustodianEmail?.join(', '),
truncate: true,
},
],
Expand Down

0 comments on commit 00f3ed7

Please sign in to comment.