Skip to content
Snippets Groups Projects

Sprint 17 features

Merged Bogdan Cochior requested to merge develop into master
5 files
+ 15
6
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -7,7 +7,11 @@ export const isHEToManuscript = (state, collectionId) => {
return get(collection, 'handlingEditor.id') === currentUserId
}
const canMakeRecommendationStatuses = ['reviewCompleted', 'heAssigned']
const canMakeRecommendationStatuses = [
'reviewCompleted',
'heAssigned',
'underReview',
]
export const canMakeRecommendation = (state, collection, fragment = {}) => {
if (fragment.id !== last(collection.fragments)) return false
const isHE = isHEToManuscript(state, collection.id)