show performer avatar in HistoryCard component
This commit is contained in:
@@ -2,7 +2,6 @@ import {
|
|||||||
AccessTime,
|
AccessTime,
|
||||||
CalendarMonth,
|
CalendarMonth,
|
||||||
Check,
|
Check,
|
||||||
CheckCircle,
|
|
||||||
EventNote,
|
EventNote,
|
||||||
HourglassEmpty,
|
HourglassEmpty,
|
||||||
MoreVert,
|
MoreVert,
|
||||||
@@ -235,9 +234,11 @@ const HistoryCard = ({
|
|||||||
size='sm'
|
size='sm'
|
||||||
variant='solid'
|
variant='solid'
|
||||||
color='success'
|
color='success'
|
||||||
startDecorator={<CheckCircle />}
|
startDecorator={
|
||||||
|
<Avatar src={performer?.image} alt={performer?.displayName} />
|
||||||
|
}
|
||||||
>
|
>
|
||||||
Done by {performer?.displayName || 'Unknown'}
|
{performer?.displayName || 'Unknown'}
|
||||||
</Chip>
|
</Chip>
|
||||||
|
|
||||||
{historyEntry.completedBy !== historyEntry.assignedTo &&
|
{historyEntry.completedBy !== historyEntry.assignedTo &&
|
||||||
|
|||||||
Reference in New Issue
Block a user