Show chore assigned person even if it's our own.

This commit is contained in:
Mihály Hóbor
2026-01-25 23:32:04 +01:00
parent b742cda635
commit a14dde8183
2 changed files with 2 additions and 2 deletions

View File

@@ -731,7 +731,7 @@ const ChoreCard = ({
<Typography level='title-md'>
{getName(chore.name)}
</Typography>
{chore.assignedTo && chore.assignedTo !== userProfile?.id && (
{chore.assignedTo && (
<Box display='flex' alignItems='center' gap={0.5}>
<Chip
variant='outlined'

View File

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