diff --git a/frontend/src/pages/Workflows/SubProjectDetails.js b/frontend/src/pages/Workflows/SubProjectDetails.js index f2755fb20..d473c270a 100644 --- a/frontend/src/pages/Workflows/SubProjectDetails.js +++ b/frontend/src/pages/Workflows/SubProjectDetails.js @@ -115,6 +115,7 @@ const SubProjectDetails = ({ const mappedStatus = statusMapping(status); const statusIcon = statusIconMapping[status]; const date = unixTsToString(created); + const validator = users.find(user => user.id === subprojectValidator); const closingOfSubProjectAllowed = subProjectCanBeClosed(status === "closed", canCloseSubproject, workflowItems); return ( @@ -248,14 +249,14 @@ const SubProjectDetails = ({ secondary={strings.common.assignee} /> - {!_isEmpty(subprojectValidator) ? ( + {!_isEmpty(validator) ? ( - + ) : null}