) {
- if (!doi_url) {
- return null;
- }
- const doi = getCollectionDOI(doi_url);
-
- return (
-
- doi:{doi}
-
- );
-}
-
function CollectionDetail({ collection: collectionData }: { collection: Collection }) {
- const { entity_type, hubmap_id, doi_url, datasets, contributors, contacts } = collectionData;
+ const { entity_type, hubmap_id, datasets, contributors, contacts } = collectionData;
useTrackID({ entity_type, hubmap_id });
@@ -31,9 +15,7 @@ function CollectionDetail({ collection: collectionData }: { collection: Collecti
{collectionData && (
<>
-
-
-
+
{'datasets' in collectionData && }
{contributors && Boolean(contributors.length) && (