diff --git a/src/components/Directory/ProfileContactDirectory.jsx b/src/components/Directory/ProfileContactDirectory.jsx index 7b7a3ed4..323c9b87 100644 --- a/src/components/Directory/ProfileContactDirectory.jsx +++ b/src/components/Directory/ProfileContactDirectory.jsx @@ -6,7 +6,6 @@ import NotesDirectory from "./NotesDirectory"; const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { const { conatProfile, loading } = useContactProfile(contact?.id); - const [activeTab, setActiveTab] = useState("profile"); const [profileContact, setProfileContact] = useState(); useEffect(() => { @@ -34,9 +33,11 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { {" "} {conatProfile?.organization} + Manager -
+
+
{conatProfile?.contactEmails?.length > 0 && (
@@ -61,7 +62,7 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {
    - {conatProfile.contactPhones.map((phone, idx) => ( + {conatProfile?.contactPhones.map((phone, idx) => (
  • {phone.phoneNumber} @@ -87,7 +88,28 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => {
)} -
+
+ { conatProfile?.buckets?.length > 0 && +
+ {conatProfile?.contactEmails?.length > 0 && ( +
+
+

Buckets

+
+
+
    + {conatProfile.buckets.map((bucket) => ( +
  • + { bucket.name} +
  • + ))} +
+
+
+ )} +
+ } +