Skip to content
Snippets Groups Projects
Commit b27a844e authored by Jure's avatar Jure
Browse files

fix: show decision, reviewers and publish controls for current version

parent 25c79e49
No related branches found
No related tags found
No related merge requests found
......@@ -162,12 +162,12 @@ const DecisionVersion = ({ label, current, version, parent }) => {
<AdminSection key="review-metadata">
<ReviewMetadata manuscript={version} />
</AdminSection>
{version.status === 'submitted' && (
{current && (
<AdminSection key="decision-review">
<DecisionReviews manuscript={version} />
</AdminSection>
)}
{version.status === 'submitted' && (
{current && (
<AdminSection key="decision-form">
<DecisionForm
dirty={dirty}
......@@ -179,7 +179,7 @@ const DecisionVersion = ({ label, current, version, parent }) => {
/>
</AdminSection>
)}
{version.status === 'submitted' && (
{current && (
<AdminSection>
<Publish manuscript={version} />
</AdminSection>
......
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