diff --git a/src/components/Activities/Attendance.jsx b/src/components/Activities/Attendance.jsx index 1e298df0..615627aa 100644 --- a/src/components/Activities/Attendance.jsx +++ b/src/components/Activities/Attendance.jsx @@ -227,9 +227,6 @@ const Attendance = ({ getRole, handleModalData, searchTerm, projectId, organizat )} - - - ) : (
{ ActiveInActive({ contactId: contactId, contactStatus: !showActive }); }; - if(isLoading) return - if(!data|| data.length === 0)return
No Contact Found
+ if (isLoading) return + if (!data || data.length === 0) return
No Contact Found
return ( <> { className="card-datatable table-responsive" id="horizontal-example" > - + {data && (
@@ -167,11 +167,10 @@ const ListViewContact = ({ data, Pagination, isLoading }) => { ) : ( { setActiveContact(row.id); @@ -182,16 +181,15 @@ const ListViewContact = ({ data, Pagination, isLoading }) => { )) - ) } + )}
- {Pagination && ( -
{Pagination}
- )}
)} -
+ {Pagination && ( +
{Pagination}
+ )} ); diff --git a/src/components/Expenses/ExpenseList.jsx b/src/components/Expenses/ExpenseList.jsx index cacf14ee..16159a1c 100644 --- a/src/components/Expenses/ExpenseList.jsx +++ b/src/components/Expenses/ExpenseList.jsx @@ -379,6 +379,8 @@ const ExpenseList = ({ filters, groupBy = "transactionDate", searchText }) => { )} + + {data?.data?.length > 0 && ( { onPageChange={paginate} /> )} - - ); diff --git a/src/pages/project/ProjectPage.jsx b/src/pages/project/ProjectPage.jsx index 66db1788..4acb02cd 100644 --- a/src/pages/project/ProjectPage.jsx +++ b/src/pages/project/ProjectPage.jsx @@ -193,7 +193,7 @@ const ProjectPage = () => { -
+
{/* {HasManageProject && ( */}