From 6b5aa5fb1af306cf275b779c5d1e57e14c2a9fda Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Mon, 2 Jun 2025 23:38:20 +0530 Subject: [PATCH] enable contact name click to open contact profile --- src/components/Directory/CardViewDirectory.jsx | 7 ++++++- src/components/Directory/ListViewDirectory.jsx | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Directory/CardViewDirectory.jsx b/src/components/Directory/CardViewDirectory.jsx index e7583a9d..32317d71 100644 --- a/src/components/Directory/CardViewDirectory.jsx +++ b/src/components/Directory/CardViewDirectory.jsx @@ -23,7 +23,12 @@ const CardViewDirectory = ({ >
-
+
{ + if (IsActive) { + setIsOpenModalNote(true); + setOpen_contact(contact); + } + }}> - {contact?.contactCategory?.name} + {contact?.contactCategory?.name || "Other"}