showing me light up in list

This commit is contained in:
talksik
2022-06-20 12:12:50 -05:00
parent b6018afce8
commit 8743b26d49
@@ -185,20 +185,18 @@ export function ConversationRow({
<AvatarGroup variant={'rounded'}> <AvatarGroup variant={'rounded'}>
{conversation.members?.map((conversationUser, index) => { {conversation.members?.map((conversationUser, index) => {
return ( return (
conversationUser._id.toString() !== user._id.toString() && (
<Avatar <Avatar
key={`${conversation._id.toString()}-${conversationUser._id.toString()}-convoIcon`} key={`${conversation._id.toString()}-${conversationUser._id.toString()}-convoIcon`}
alt={conversationUser?.givenName} alt={conversationUser?.givenName}
src={conversationUser?.picture} src={conversationUser?.picture}
sx={{ sx={{
width: 30, width: 15,
height: 30, height: 15,
opacity: conversation.tunedInUsers?.includes(conversationUser._id.toString()) opacity: conversation.tunedInUsers?.includes(conversationUser._id.toString())
? '100%' ? '100%'
: '20%', : '20%',
}} }}
/> />
)
); );
})} })}
</AvatarGroup> </AvatarGroup>