From 1292714c9f6fd70682dfe9a28ca74e66e31ac5a8 Mon Sep 17 00:00:00 2001 From: Birdmachine Date: Tue, 15 Oct 2024 15:02:31 -0400 Subject: [PATCH] Dupes weren't Populating on regular collections, return to filling table as intended --- src/src/components/collections/collections.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/src/components/collections/collections.jsx b/src/src/components/collections/collections.jsx index ad221a24..d7ca8e5c 100644 --- a/src/src/components/collections/collections.jsx +++ b/src/src/components/collections/collections.jsx @@ -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,