cleaning up avatars in the inbox as not needed really
This commit is contained in:
@@ -251,7 +251,9 @@ export function ConversationRow({
|
||||
|
||||
<ListItemAvatar>
|
||||
<AvatarGroup variant={'rounded'}>
|
||||
{conversation.members?.map((conversationUser, index) => (
|
||||
{conversation.members?.map((conversationUser, index) => {
|
||||
return (
|
||||
conversationUser._id.toString() !== user._id.toString() && (
|
||||
<Avatar
|
||||
key={`${conversation._id.toString()}-${conversationUser._id.toString()}-convoIcon`}
|
||||
alt={conversationUser?.givenName}
|
||||
@@ -264,7 +266,9 @@ export function ConversationRow({
|
||||
: '20%',
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
)
|
||||
);
|
||||
})}
|
||||
</AvatarGroup>
|
||||
</ListItemAvatar>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user