diff --git a/src/components/ApprovalWorkflows/UserWithProfilePic.tsx b/src/components/ApprovalWorkflows/UserWithProfilePic.tsx index 4254bfd9..34c78adb 100644 --- a/src/components/ApprovalWorkflows/UserWithProfilePic.tsx +++ b/src/components/ApprovalWorkflows/UserWithProfilePic.tsx @@ -4,12 +4,14 @@ interface Props { prefix: string; name: string; profileImage: string; + textSize?: string; } -export default function UserWithProfilePic({ prefix, name, profileImage }: Props) { +export default function UserWithProfilePic({ prefix, name, profileImage, textSize }: Props) { + const textClassName = `${textSize ? textSize : "text-xs"} font-medium` return (
{prefix} {name}
+{prefix} {name}
No additional actions are required.
+Approved by:
+ {(() => { + const assignee = workflowAssignees.find( + (assignee) => assignee.id === selectedStep.completedBy + ); + return assignee ? ( +No additional actions are required.