Skip to content

Commit cba7c41

Browse files
committed
Support optional institution column
1 parent c317863 commit cba7c41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/record/RecordRow.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ const RecordRow = (props) => {
7272
{`${record.author.firstName} ${record.author.lastName}`}
7373
</Button>
7474
) : (
75-
<span className="text-warning">Not Found</span>
75+
"—"
7676
)}
7777
</td>
7878
)}
7979

8080
{props.visibleColumns.includes(COLUMNS.INSTITUTION) && (
81-
<td className="report-row content-center">{record.institution.name}</td>
81+
<td className="report-row content-center">{record.institution ? record.institution.name : "—"}</td>
8282
)}
8383

8484
{props.visibleColumns.includes(COLUMNS.TEMPLATE) && (

0 commit comments

Comments
 (0)