From 740a730f7a3eefa6a4881f6027cc5fa6a117ba23 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Sat, 26 Jul 2025 10:44:02 +0530 Subject: [PATCH] Changes in Contact Profile. --- src/components/Directory/NotesDirectory.jsx | 39 ++++++++++++--------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/src/components/Directory/NotesDirectory.jsx b/src/components/Directory/NotesDirectory.jsx index 2ba497d5..a824cbb7 100644 --- a/src/components/Directory/NotesDirectory.jsx +++ b/src/components/Directory/NotesDirectory.jsx @@ -117,23 +117,28 @@ const NotesDirectory = ({ return (
-
-
-

Notes :

-
-
- {" "} -
-
+
+
+ {(contactProfile?.notes?.length > 0 || contactNotes?.length > 0) && ( + + )} + {!(contactProfile?.notes?.length > 0 || contactNotes?.length > 0) && ( +
+