Skip to content

Commit

Permalink
Merge pull request #1492 from hubmapconsortium/collectionPolish
Browse files Browse the repository at this point in the history
Dupes weren't Populating on regular collections, return to filling table as intended
  • Loading branch information
yuanzhou authored Oct 16, 2024
2 parents 42e5d2f + 1292714 commit 8aacd10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/src/components/collections/collections.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,13 +520,12 @@ export function CollectionForm (props){
var contributors = []
var contacts = []
for (const row of data.data) {
contributors.push(row)
if(!row.is_contact){
row.is_contact = "NO"
}else if (row.is_contact && (row.is_contact === "TRUE"|| row.is_contact.toLowerCase()==="yes") ){
contacts.push(row)
}
// contributors.push(row)

}
setFormValues ({
...formValues,
Expand Down

0 comments on commit 8aacd10

Please sign in to comment.