diff --git a/src/components/Directory/ListViewDirectory.jsx b/src/components/Directory/ListViewDirectory.jsx index 801d9915..a216a3b0 100644 --- a/src/components/Directory/ListViewDirectory.jsx +++ b/src/components/Directory/ListViewDirectory.jsx @@ -15,6 +15,10 @@ const ListViewDirectory = ({ }) => { const { dirActions, setDirActions } = useDir(); + // Get the first email and phone number if they exist + const firstEmail = contact.contactEmails?.[0]; + const firstPhone = contact.contactPhones?.[0]; + return (