From fcde99db01a4196155cbf205f3b48ab7f856368d Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Wed, 13 Nov 2024 14:03:18 -0600 Subject: [PATCH] SCRUM-4529 more undefined checks --- src/containers/allelePage/AlleleSummary.js | 2 +- src/containers/allelePage/AlleleTransgenicConstructs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/allelePage/AlleleSummary.js b/src/containers/allelePage/AlleleSummary.js index 38e21743d..8a506460b 100644 --- a/src/containers/allelePage/AlleleSummary.js +++ b/src/containers/allelePage/AlleleSummary.js @@ -35,7 +35,7 @@ const AlleleSummary = ({allele}) => { {allele.constructs && allele.constructs.length && ( {allele.constructs.map(construct => ( - + ))} diff --git a/src/containers/allelePage/AlleleTransgenicConstructs.js b/src/containers/allelePage/AlleleTransgenicConstructs.js index 17682d26a..1e1581099 100644 --- a/src/containers/allelePage/AlleleTransgenicConstructs.js +++ b/src/containers/allelePage/AlleleTransgenicConstructs.js @@ -39,7 +39,7 @@ const AlleleTransgenicConstructs = ({constructs}) => { Knock-down Targets - {construct.targetGenes.length && ( + {construct.targetGenes?.length && ( )}