From 7d94c17c71ae897f5bba83dfac1009e95336e748 Mon Sep 17 00:00:00 2001 From: pramod mahajan Date: Tue, 16 Sep 2025 17:57:06 +0530 Subject: [PATCH] modified ui of header directory --- src/components/Directory/ListViewContact.jsx | 6 +- src/pages/Directory/DirectoryPage.jsx | 68 ++++++++++---------- 2 files changed, 38 insertions(+), 36 deletions(-) diff --git a/src/components/Directory/ListViewContact.jsx b/src/components/Directory/ListViewContact.jsx index 9f9b26d1..ef484c31 100644 --- a/src/components/Directory/ListViewContact.jsx +++ b/src/components/Directory/ListViewContact.jsx @@ -102,10 +102,10 @@ const ListViewContact = ({ data, Pagination }) => { className="card-datatable table-responsive" id="horizontal-example" > -
+
- + {contactList?.map((col) => ( - + {Array.isArray(data) && data.length > 0 ? ( data.map((row, i) => ( { - setDeleteBucket({isOpen:false,bucketId:null}); + setDeleteBucket({ isOpen: false, bucketId: null }); }); const handleDelete = (bucketId) => { DeleteBucket(bucketId); @@ -133,7 +133,8 @@ export default function DirectoryPage({ IsPage = true, projectId = null }) { > )}
-
+
+
- -
- - -
-
+
{activeTab === "notes" && ( +
setsearchContact(e.target.value)} />
-
+ +
- {showActive ? "Active" : "Inactive"} + {showActive ? "Active" : "Inactive"} Contacts
)}
+ +
+ + +
+
{col.label} @@ -116,7 +116,7 @@ const ListViewContact = ({ data, Pagination }) => {