diff --git a/packages/components-faraday/src/components/Dashboard/DashboardCard.js b/packages/components-faraday/src/components/Dashboard/DashboardCard.js index cd03a3fc046952d077cc25bbe8744b65acd53f7b..720c6ea6fb6a4335cc6f0a8b463df109f4ce7d35 100644 --- a/packages/components-faraday/src/components/Dashboard/DashboardCard.js +++ b/packages/components-faraday/src/components/Dashboard/DashboardCard.js @@ -199,9 +199,9 @@ export default compose( const handlingEditor = get(project, 'handlingEditor') const isAdmin = get(currentUser, 'admin') const isEic = get(currentUser, 'editorInChief') - const isHe = get(currentUser, 'handlingEditor') const isAccepted = get(handlingEditor, 'isAccepted') - return (isAdmin || isEic || isHe) && isAccepted + const heId = get(handlingEditor, 'id') + return isAccepted && (currentUser.id === heId || isAdmin || isEic) }, showConfirmationModal: ({ deleteProject, diff --git a/packages/components-faraday/src/components/MakeRecommendation/StepTwo.js b/packages/components-faraday/src/components/MakeRecommendation/StepTwo.js index 26a2320e4923528355169f7714f0bd300b875818..2e554d6ccb2d8f863416d3711ebeb469c14a0109 100644 --- a/packages/components-faraday/src/components/MakeRecommendation/StepTwo.js +++ b/packages/components-faraday/src/components/MakeRecommendation/StepTwo.js @@ -52,7 +52,7 @@ const StepTwo = ({ <RowItem vertical> <Label>Message for Editor in Chief (optional)</Label> <ValidatedField - component={input => <Textarea {...input} />} + component={input => <Textarea {...input} height={70} />} name="message.eic" /> </RowItem> @@ -61,7 +61,7 @@ const StepTwo = ({ <RowItem vertical> <Label>Message for Author (optional)</Label> <ValidatedField - component={input => <Textarea {...input} />} + component={input => <Textarea {...input} height={70} />} name="message.author" /> </RowItem> @@ -88,6 +88,7 @@ const StepTwo = ({ /> )} name="revision.revisionType" + validate={[required]} /> </RowItem> </CustomRow>