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

fix(he-response): fix errors after CR

parent ecfd3aed
No related branches found
No related tags found
2 merge requests!58Sprint #20 - Goal - Reviewers submit report,!46HIN-935: HE accept, decline manuscript assignation
...@@ -28,9 +28,8 @@ const HandlingEditorAnswer = ({ ...@@ -28,9 +28,8 @@ const HandlingEditorAnswer = ({
decision, decision,
isFetching, isFetching,
handleSubmit, handleSubmit,
shouldShowComments,
//
onSubmitForm, onSubmitForm,
shouldShowComments,
}) => ( }) => (
<ContextualBox <ContextualBox
expanded={expanded} expanded={expanded}
...@@ -56,7 +55,7 @@ const HandlingEditorAnswer = ({ ...@@ -56,7 +55,7 @@ const HandlingEditorAnswer = ({
</RowOverrideAlert> </RowOverrideAlert>
{shouldShowComments && ( {shouldShowComments && (
<RowOverrideAlert ml={1} mt={2}> <RowOverrideAlert ml={1} mt={2} pr={2}>
<Item vertical> <Item vertical>
<Label> <Label>
Decline Reason{' '} Decline Reason{' '}
...@@ -96,6 +95,7 @@ export default compose( ...@@ -96,6 +95,7 @@ export default compose(
})), })),
reduxForm({ reduxForm({
form: 'he-answer-invitation', form: 'he-answer-invitation',
destroyOnUnmount: false,
onSubmit: (values, dispatch, { onResponse, setFetching }) => modalProps => { onSubmit: (values, dispatch, { onResponse, setFetching }) => modalProps => {
onResponse(values, { ...modalProps, setFetching }) onResponse(values, { ...modalProps, setFetching })
}, },
......
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