Fix undefined comments error in BacklogView

This commit is contained in:
OpenClaw Bot 2026-02-19 20:06:24 -06:00
parent 694cb6a793
commit 67c6b83a78

View File

@ -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>