From 77e384dc6e1252f50c0b10f8724df1b211aef05c Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Fri, 25 Jul 2025 14:46:13 +0530 Subject: [PATCH] Adding "( , )" when user has multiple phone numbers. --- src/components/Directory/ProfileContactDirectory.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Directory/ProfileContactDirectory.jsx b/src/components/Directory/ProfileContactDirectory.jsx index 7aed18d1..0509db50 100644 --- a/src/components/Directory/ProfileContactDirectory.jsx +++ b/src/components/Directory/ProfileContactDirectory.jsx @@ -91,14 +91,17 @@ const ProfileContactDirectory = ({ contact, setOpen_contact, closeModal }) => { {contactProfile?.contactPhones?.length > 0 && (
-
+

Phone :

    - {contactProfile?.contactPhones.map((phone, idx) => ( -
  • + {contactProfile.contactPhones.map((phone, idx) => ( +
  • {phone.phoneNumber} {idx < contactProfile.contactPhones.length - 1 && ","}