From 3d7587862594b1de8c8d9bfedc149fcad9546429 Mon Sep 17 00:00:00 2001 From: Anca Ursachi <anca.ursachi@thinslices.com> Date: Fri, 9 Nov 2018 14:12:36 +0200 Subject: [PATCH] fix(index(componentFaradaySelectors)): EIC and HE can now see the editorial comments in underReview --- packages/component-faraday-selectors/src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/component-faraday-selectors/src/index.js b/packages/component-faraday-selectors/src/index.js index 4357f212f..294058e27 100644 --- a/packages/component-faraday-selectors/src/index.js +++ b/packages/component-faraday-selectors/src/index.js @@ -95,6 +95,7 @@ const canHeViewEditorialCommentsStatuses = [ 'inQA', 'pendingApproval', 'reviewCompleted', + 'underReview', ] export const canHeViewEditorialComments = (state, collection = {}) => { const isHE = isHEToManuscript(state, get(collection, 'id', '')) @@ -108,6 +109,8 @@ const canEICViewEditorialCommentsStatuses = [ 'inQA', 'pendingApproval', 'reviewCompleted', + 'revisionRequested', + 'underReview', ] export const canEICViewEditorialComments = (state, collection = {}) => { const isEIC = currentUserIs(state, 'adminEiC') -- GitLab