Fix https://github.com/donetick/donetick/issues/373 compact card not showing the right performer

This commit is contained in:
Mo Tarbin
2025-12-27 16:45:49 -05:00
parent 5aeacef511
commit 7332e81e6e

View File

@@ -412,7 +412,7 @@ const CompactChoreCard = ({
// Assignee (if not current user)
if (chore.assignedTo && chore.assignedTo !== userProfile.id) {
const assignee = performers.find(
p => p.id === chore.assignedTo,
p => p.userId === chore.assignedTo,
)?.displayName
if (assignee) parts.push(assignee)
}