Skip to content
Snippets Groups Projects
Commit bb0b27e4 authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

#1229

parent c0c46330
No related branches found
No related tags found
1 merge request!406Dev
......@@ -28,9 +28,10 @@ class ReviewFooter extends React.Component {
} = this.props
const { report, approve, cancel, preprintWizard } = this.state
const { annotations } = review || []
const { status, teams, organization, decision } = manuscript
const { meta, status, teams, organization, decision } = manuscript
const submitter = teams.find(t => t.role === 'submitter').teamMembers[0]
const preprint = organization.name === 'Europe PMC Preprints'
const { articleType = 'research-article' } = meta
const xStates = [
'xml-qa',
'xml-triage',
......@@ -103,7 +104,9 @@ class ReviewFooter extends React.Component {
}}
primary
>
Send for QA
{articleType.startsWith('preprint-')
? 'Release'
: 'Send for QA'}
</Button>
<Button onClick={() => this.setState({ report: true })}>
Ask for correction
......
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