Skip to content
Snippets Groups Projects
Commit 16165001 authored by Mihail Hagiu's avatar Mihail Hagiu
Browse files

fix(ReviewerEditorialComments): Removed line

parent 5670cdbd
No related branches found
No related tags found
1 merge request!121Hin 1043 fix
......@@ -129,8 +129,7 @@ export const canReviewerViewEditorialComments = (
const status = get(collection, 'status', 'draft')
const isReviewer = currentUserIsReviewer(state, get(fragment, 'id', ''))
const hasDecision = decisionTakenStatuses.includes(status)
const fragmentVersion = fragment.version
const hasSubmission = some(state.fragments, f => f.version > fragmentVersion)
const hasSubmission = some(state.fragments, f => f.version > fragment.version)
return (
isReviewer &&
(hasDecision ||
......
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