From 881ddae283cc0e0e03b95c3121841e15f999fb7e Mon Sep 17 00:00:00 2001 From: Parimala032 <156060538+Parimala032@users.noreply.github.com> Date: Wed, 13 Nov 2024 19:27:57 +0530 Subject: [PATCH] fix(webexMember): updated member name handling (#845) --- src/components/WebexMember/WebexMember.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/WebexMember/WebexMember.jsx b/src/components/WebexMember/WebexMember.jsx index 56032c5d4..4c4fbf82e 100644 --- a/src/components/WebexMember/WebexMember.jsx +++ b/src/components/WebexMember/WebexMember.jsx @@ -39,8 +39,8 @@ export default function WebexMember({ const members = useMembers(destinationID, destinationType); const member = members .find((itemMember) => itemMember.ID === personID); + const memberName = member?.name || displayName; const organization = useOrganization(orgID); - const isMuted = member?.muted; const isSpeaking = member?.speaking; const isExternal = orgID !== undefined && me.orgID !== undefined && me.orgID !== orgID; @@ -64,7 +64,7 @@ export default function WebexMember({
- {(displayName ?? ) || Name not available} + {(memberName ?? ) || Name not available} {isGuest && (Guest)}
{roles.length > 0 &&
{roles.join(', ')}
}