Skip to content
Snippets Groups Projects
Commit b67a2ee4 authored by Iosif Boanca's avatar Iosif Boanca
Browse files

feat(pure function fix):

parent 2cb31368
No related branches found
No related tags found
3 merge requests!160Update staging with master features,!150Develop,!139Hin 1054
...@@ -52,7 +52,12 @@ const optionsWhereHECanOnlyReject = [ ...@@ -52,7 +52,12 @@ const optionsWhereHECanOnlyReject = [
'revisionRequested', 'revisionRequested',
] ]
const showHEOptions = ({ collection, hasReviewerReports, fragment }) => { const showHEOptions = ({
collection,
hasReviewerReports,
fragment,
options,
}) => {
const { status, fragments } = collection const { status, fragments } = collection
const { invitations } = fragment const { invitations } = fragment
if (optionsWhereHECanOnlyReject.includes(status)) { if (optionsWhereHECanOnlyReject.includes(status)) {
...@@ -107,6 +112,7 @@ const HERecommendation = ({ ...@@ -107,6 +112,7 @@ const HERecommendation = ({
collection, collection,
hasReviewerReports, hasReviewerReports,
fragment, fragment,
options,
})} })}
{...input} {...input}
/> />
......
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