diff --git a/src/components/Directory/ListViewDirectory.jsx b/src/components/Directory/ListViewDirectory.jsx index 033290cd..e58b38fb 100644 --- a/src/components/Directory/ListViewDirectory.jsx +++ b/src/components/Directory/ListViewDirectory.jsx @@ -1,4 +1,5 @@ import React from 'react' +import Avatar from '../common/Avatar'; const getEmailIcon = (type) => { switch (type) { @@ -26,7 +27,19 @@ const getPhoneIcon = (type) => { const ListViewDirectory = ({ contact,setSelectedContact,setIsOpenModal }) => { return ( - {`${contact.name}`} + +
+ + + {contact?.name || ""} +
+ + + {/* Emails */}