Skip to content

Commit

Permalink
fix: Backwards compatible Upload Type column
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 committed Jan 31, 2024
1 parent 9cb68f2 commit f19802f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/dataSubmissions/DataSubmission.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const columns: Column<Batch>[] = [
},
{
label: "Upload Type",
renderValue: (data) => (data?.type === "data file" ? "-" : data?.metadataIntention),
renderValue: (data) => (data?.type !== "metadata" ? "-" : data?.metadataIntention),
field: "metadataIntention",
},
{
Expand Down

0 comments on commit f19802f

Please sign in to comment.