diff --git a/package-lock.json b/package-lock.json index 62e22cb3b..0b2dc4f6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bento_web", - "version": "3.1.1", + "version": "3.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bento_web", - "version": "3.1.1", + "version": "3.1.2", "license": "LGPL-3.0-only", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index 048361783..dffe9cf30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bento_web", - "version": "3.1.1", + "version": "3.1.2", "description": "Bento platform front-end", "main": "src/index.js", "dependencies": { diff --git a/src/components/explorer/IndividualPhenotypicFeatures.js b/src/components/explorer/IndividualPhenotypicFeatures.js index 9e885d2c4..cd51cf5dd 100644 --- a/src/components/explorer/IndividualPhenotypicFeatures.js +++ b/src/components/explorer/IndividualPhenotypicFeatures.js @@ -74,9 +74,9 @@ const IndividualPhenotypicFeatures = ({ individual }) => { header: p.id, key: p.id, }] : []), // If there is just 1 phenopacket, don't include a header row - ...p.phenotypic_features.map((pf) => ({ + ...(p.phenotypic_features ?? []).map((pf) => ({ ...pf, - key: `${pf.type.id}:${pf.negated}`, + key: `${p.id}:${pf.type.id}:${pf.negated}`, })), ]); }, [individual]);