From 124e5bad21b269caf0543c42004d12d48bf6191a Mon Sep 17 00:00:00 2001 From: Kamil Date: Sat, 4 Dec 2021 22:25:18 +0100 Subject: [PATCH] added user urls --- .../kanban/kanbanItem/kanbanItem.component.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/kanban/kanbanItem/kanbanItem.component.js b/src/components/kanban/kanbanItem/kanbanItem.component.js index 22af4e8..594d637 100644 --- a/src/components/kanban/kanbanItem/kanbanItem.component.js +++ b/src/components/kanban/kanbanItem/kanbanItem.component.js @@ -5,7 +5,7 @@ import { isEmpty } from 'ramda'; export const KanbanItemComponent = ({ item }) => { return ( - +
{item.labels.map((label) => ( @@ -44,12 +44,15 @@ export const KanbanItemComponent = ({ item }) => { {item.comments}
+
{isEmpty(item.assignees) ? ( - User's avatar + + User's avatar + ) : ( item.assignees.map((assignee) => ( -
+ { className="rounded-full" src={assignee.avatar_url} /> -
+ )) )}