Skip to content
Snippets Groups Projects
Commit c2b236cd authored by Anca Ursachi's avatar Anca Ursachi
Browse files

fix(ManuscriptHeader): EiC should be able to resend invitation or cancel invitation for the HE

parent f160f857
No related branches found
No related tags found
3 merge requests!176Sprint 24,!171Sprint 24,!168Hin 845 revoke and assign he fix
...@@ -141,7 +141,12 @@ export default compose( ...@@ -141,7 +141,12 @@ export default compose(
(admin || editorInChief) (admin || editorInChief)
) { ) {
const person = chain(handlingEditors) const person = chain(handlingEditors)
.filter(he => he.id === get(heInvitation, 'userId', false)) .filter(
he =>
he.id ===
(get(heInvitation, 'userId', false) ||
get(pendingInvitation, 'userId', false)),
)
.map(he => ({ ...he, name: `${he.firstName} ${he.lastName}` })) .map(he => ({ ...he, name: `${he.firstName} ${he.lastName}` }))
.first() .first()
.value() .value()
......
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