Skip to content
Snippets Groups Projects
Commit 760bb810 authored by Giannis Kopanas's avatar Giannis Kopanas
Browse files

Changing wrong variable on daclarations of submission openPeerReview

parent 1622e3c8
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,9 @@ const EditorItem = ({ AssignEditor, project, version, addUserToTeam }) => (
<Divider separator="" />
<MetadataSections sections={version.metadata.articleSection} />
<Divider separator="" />
<MetadataReviewType openReview={version.declarations.openReview} />
<MetadataReviewType
openPeerReview={version.declarations.openPeerReview}
/>
</div>
</div>
......
......@@ -10,7 +10,7 @@ const ReviewMetadata = ({ version, handlingEditors }) => (
<tbody>
<tr>
<th className={classes.heading}>peer review:</th>
<td>{version.declarations.openReview ? 'open' : 'closed'}</td>
<td>{version.declarations.openPeerReview ? 'open' : 'closed'}</td>
</tr>
{!!handlingEditors && (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment