Skip to content
Snippets Groups Projects
Commit e7b98ee0 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

fix(styling): fix styling issues found by raluca

parent 188090a3
No related branches found
No related tags found
1 merge request!10Sprint #12
...@@ -199,9 +199,9 @@ export default compose( ...@@ -199,9 +199,9 @@ export default compose(
const handlingEditor = get(project, 'handlingEditor') const handlingEditor = get(project, 'handlingEditor')
const isAdmin = get(currentUser, 'admin') const isAdmin = get(currentUser, 'admin')
const isEic = get(currentUser, 'editorInChief') const isEic = get(currentUser, 'editorInChief')
const isHe = get(currentUser, 'handlingEditor')
const isAccepted = get(handlingEditor, 'isAccepted') const isAccepted = get(handlingEditor, 'isAccepted')
return (isAdmin || isEic || isHe) && isAccepted const heId = get(handlingEditor, 'id')
return isAccepted && (currentUser.id === heId || isAdmin || isEic)
}, },
showConfirmationModal: ({ showConfirmationModal: ({
deleteProject, deleteProject,
......
...@@ -52,7 +52,7 @@ const StepTwo = ({ ...@@ -52,7 +52,7 @@ const StepTwo = ({
<RowItem vertical> <RowItem vertical>
<Label>Message for Editor in Chief (optional)</Label> <Label>Message for Editor in Chief (optional)</Label>
<ValidatedField <ValidatedField
component={input => <Textarea {...input} />} component={input => <Textarea {...input} height={70} />}
name="message.eic" name="message.eic"
/> />
</RowItem> </RowItem>
...@@ -61,7 +61,7 @@ const StepTwo = ({ ...@@ -61,7 +61,7 @@ const StepTwo = ({
<RowItem vertical> <RowItem vertical>
<Label>Message for Author (optional)</Label> <Label>Message for Author (optional)</Label>
<ValidatedField <ValidatedField
component={input => <Textarea {...input} />} component={input => <Textarea {...input} height={70} />}
name="message.author" name="message.author"
/> />
</RowItem> </RowItem>
...@@ -88,6 +88,7 @@ const StepTwo = ({ ...@@ -88,6 +88,7 @@ const StepTwo = ({
/> />
)} )}
name="revision.revisionType" name="revision.revisionType"
validate={[required]}
/> />
</RowItem> </RowItem>
</CustomRow> </CustomRow>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment