From e4fc98dc6b01a248cf7ca920ce20de3c8c10d733 Mon Sep 17 00:00:00 2001
From: Tania Fecheta <tania.fecheta@thinslices.com>
Date: Thu, 8 Nov 2018 11:18:24 +0200
Subject: [PATCH] fix(responseToRevisionRequest): display the response the
 author gave

---
 .../component-manuscript/src/components/ManuscriptPage.js    | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/packages/component-manuscript/src/components/ManuscriptPage.js b/packages/component-manuscript/src/components/ManuscriptPage.js
index 7ef6a1164..030805e20 100644
--- a/packages/component-manuscript/src/components/ManuscriptPage.js
+++ b/packages/component-manuscript/src/components/ManuscriptPage.js
@@ -50,6 +50,7 @@ import {
   canViewEditorialComments,
   pendingReviewerInvitation,
   canViewResponseFromAuthor,
+  getFragmentAuthorResponse,
   canOverrideTechnicalChecks,
   authorCanViewReportsDetails,
   getOwnPendingRecommendation,
@@ -129,6 +130,10 @@ export default compose(
         state,
         match.params.version,
       ),
+      authorResponseToRevisonRequest: getFragmentAuthorResponse(
+        state,
+        match.params.version,
+      ),
     }),
     {
       changeForm,
-- 
GitLab