From d827b4e1370c4236f940d67439bb160e13d913c6 Mon Sep 17 00:00:00 2001
From: Bogdan Cochior <bogdan.cochior@thinslices.com>
Date: Wed, 8 Aug 2018 16:23:06 +0300
Subject: [PATCH] fix(emails): fix EiC case

---
 .../fragmentsRecommendations/notifications/notifications.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notifications.js b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notifications.js
index 2e03ffd3e..2272a85f4 100644
--- a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notifications.js
+++ b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/notifications/notifications.js
@@ -81,7 +81,7 @@ module.exports = {
       newRecommendation.recommendationType !== 'review' &&
       newRecommendation.recommendation !== 'return-to-handling-editor'
     ) {
-      if (collection.status === 'revisionRequested') {
+      if (isEditorInChief || collection.status === 'revisionRequested') {
         sendAuthorsEmail({
           email,
           baseUrl,
-- 
GitLab