Fix undefined comments error in BacklogView
This commit is contained in:
parent
694cb6a793
commit
67c6b83a78
@ -83,7 +83,7 @@ function SortableTaskRow({
|
|||||||
<Badge className={`${priorityColors[task.priority]} text-white text-xs`}>
|
<Badge className={`${priorityColors[task.priority]} text-white text-xs`}>
|
||||||
{task.priority}
|
{task.priority}
|
||||||
</Badge>
|
</Badge>
|
||||||
{task.comments.length > 0 && (
|
{task.comments && task.comments.length > 0 && (
|
||||||
<span className="text-xs text-slate-500">💬 {task.comments.length}</span>
|
<span className="text-xs text-slate-500">💬 {task.comments.length}</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user