From bb0b27e4ef9d433ab3060a225992dd00136b9bb1 Mon Sep 17 00:00:00 2001
From: Audrey Hamelers <hamelers@ebi.ac.uk>
Date: Tue, 14 Sep 2021 11:13:59 +0100
Subject: [PATCH] #1229

---
 app/components/review-wizard/ReviewFooter.jsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app/components/review-wizard/ReviewFooter.jsx b/app/components/review-wizard/ReviewFooter.jsx
index 6f403f559..ef3cc1a5c 100644
--- a/app/components/review-wizard/ReviewFooter.jsx
+++ b/app/components/review-wizard/ReviewFooter.jsx
@@ -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
-- 
GitLab