Skip to content
Snippets Groups Projects
Commit c9c9d8e0 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

fix: change response to reviewers order and parse COI

parent 0fbab8ee
No related branches found
No related tags found
1 merge request!21Sprint #16 features
...@@ -24,7 +24,7 @@ const ManuscriptDetails = ({ ...@@ -24,7 +24,7 @@ const ManuscriptDetails = ({
)} )}
{conflicts.hasConflicts === 'yes' && ( {conflicts.hasConflicts === 'yes' && (
<Expandable label="CONFLICT OF INTEREST"> <Expandable label="CONFLICT OF INTEREST">
<Text>{conflicts.message}</Text> <Text dangerouslySetInnerHTML={{ __html: conflicts.message }} />
</Expandable> </Expandable>
)} )}
{!!authors.length && ( {!!authors.length && (
......
...@@ -67,11 +67,11 @@ const ManuscriptLayout = ({ ...@@ -67,11 +67,11 @@ const ManuscriptLayout = ({
recommendations={editorialRecommendations} recommendations={editorialRecommendations}
/> />
)} )}
{hasResponseToReviewers && <ResponseToReviewers version={version} />}
<ReviewsAndReports project={project} version={version} /> <ReviewsAndReports project={project} version={version} />
{canMakeRevision && ( {canMakeRevision && (
<SubmitRevision project={project} version={version} /> <SubmitRevision project={project} version={version} />
)} )}
{hasResponseToReviewers && <ResponseToReviewers version={version} />}
</Container> </Container>
<SideBar flex={1}> <SideBar flex={1}>
<SideBarActions project={project} version={version} /> <SideBarActions project={project} version={version} />
......
...@@ -11,7 +11,7 @@ const ResponseToReviewers = ({ ...@@ -11,7 +11,7 @@ const ResponseToReviewers = ({
responseToReviewers: { comments = '', files }, responseToReviewers: { comments = '', files },
}) => ( }) => (
<Root> <Root>
<Expandable label="Respone to reviewers"> <Expandable label="Response to reviewers" startExpanded>
{comments && ( {comments && (
<Fragment> <Fragment>
<Label>Comments to reviewers</Label> <Label>Comments to reviewers</Label>
......
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