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

Merge branch '133-submission-info-wrong-on-dash-view' into 'master'

Changing wrong variable on daclarations of submission openPeerReview

Closes #133

See merge request xpub!106
parents 1622e3c8 760bb810
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