diff --git a/packages/component-dashboard/src/components/metadata/MetadataReviewType.js b/packages/component-dashboard/src/components/metadata/MetadataReviewType.js index 11522e78d5df54c18c9174e2310687d258277feb..95cec2654b3fb73a8be9b35728125957f06ae268 100644 --- a/packages/component-dashboard/src/components/metadata/MetadataReviewType.js +++ b/packages/component-dashboard/src/components/metadata/MetadataReviewType.js @@ -1,7 +1,7 @@ import React from 'react' -const MetadataReviewType = ({ openReview }) => ( - <span>{openReview ? 'Open review' : 'Closed review'}</span> +const MetadataReviewType = ({ openPeerReview }) => ( + <span>{openPeerReview === 'yes' ? 'Open review' : 'Closed review'}</span> ) export default MetadataReviewType