Skip to content
Snippets Groups Projects
Commit 26a21434 authored by Daniel Sandu's avatar Daniel Sandu
Browse files

fix(ManuscriptLayout): Apply Visual Design - Author can see Reviewer Reports - design issues

parent 05f35691
No related branches found
No related tags found
1 merge request!123fix(ManuscriptLayout): Apply Visual Design - Author can see Reviewer Reports - design issues
......@@ -18,7 +18,8 @@ const SubmittedReportsNumberForAuthorReviews = ({ reports }) => (
const AuthorReviews = ({ invitations, journal, reports, fragment }) =>
reports.length > 0 && (
<ContextualBox
label="Review Reports"
label="Reviewer Reports"
mb={2}
rightChildren={
<SubmittedReportsNumberForAuthorReviews reports={reports.length} />
}
......
......@@ -109,8 +109,12 @@ const ManuscriptLayout = ({
/>
)}
{get(currentUser, 'permissions.canSubmitRevision', false) && (
<SubmitRevision {...submitRevision} />
{get(currentUser, 'permissions.authorCanViewReportsDetails', false) && (
<AuthorReviews
currentUser={currentUser}
journal={journal}
reports={reviewerReports}
/>
)}
{submittedOwnRecommendation && (
......@@ -191,12 +195,9 @@ const ManuscriptLayout = ({
{...inviteReviewer}
/>
)}
{get(currentUser, 'permissions.authorCanViewReportsDetails', false) && (
<AuthorReviews
currentUser={currentUser}
journal={journal}
reports={reviewerReports}
/>
{get(currentUser, 'permissions.canSubmitRevision', false) && (
<SubmitRevision {...submitRevision} />
)}
{get(currentUser, 'permissions.canMakeHERecommendation', false) &&
......
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