Skip to content

Commit

Permalink
Dupes weren't Populating on regular collections, return to filling ta…
Browse files Browse the repository at this point in the history
…ble as intended
  • Loading branch information
BirdMachine committed Oct 15, 2024
1 parent dcb62b2 commit 1292714
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 1292714

Please sign in to comment.