diff --git a/src/components/Directory/ListViewDirectory.jsx b/src/components/Directory/ListViewDirectory.jsx index 5011d229..d9188fd2 100644 --- a/src/components/Directory/ListViewDirectory.jsx +++ b/src/components/Directory/ListViewDirectory.jsx @@ -26,10 +26,10 @@ const getPhoneIcon = (type) => { const ListViewDirectory = ({ contact }) => { return ( - {`${contact.name}`} + {`${contact.name}`} {/* Emails */} - +
{contact.contactEmails?.map((email, index) => ( @@ -52,20 +52,18 @@ const ListViewDirectory = ({ contact }) => {
- {/* Organization */} + {contact.organization} - {/* Tags */} +
- {contact.tags?.map((tag, index) => ( - {tag} - ))} + {contact?.contactCategory?.name }
{/* Actions */} - +