Skip to content

Commit

Permalink
feat: add image to employee selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Innocent-Akim committed Dec 14, 2024
1 parent 921f9f6 commit 3cdb5b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export function AddTaskModal({ closeModal, isOpen }: IAddTaskModalProps) {
onChange={(value: any) => updateFormState('employeeId', value.id)}
renderOption={(option: any) => (
<div className="flex items-center gap-x-2">
<img className='h-6 w-6 rounded-full' src={option.employee.user.imageUrl} />
<span>{option.employee.fullName}</span>
</div>
)}
Expand Down

0 comments on commit 3cdb5b0

Please sign in to comment.