Commit 761cb01e authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

#1233

parent 3dea23d9
......@@ -272,7 +272,9 @@ class SubmitComplete extends React.Component {
currentStep={5}
doi={doi}
inEPMC={
articleIds && articleIds.find(aid => aid.pubIdType === 'pmcid')
articleIds &&
articleIds.find(aid => aid.pubIdType === 'pmcid') &&
articleIds.find(aid => aid.pubIdType === 'pmcid').id
}
preprint={preprint}
reviewer={otherUserRole === 'submitter'}
......
Markdown is supported
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