mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 11:27:47 +00:00
fix: hide pagination when no search match
This commit is contained in:
+9
-7
@@ -127,13 +127,15 @@ export const UserProjectsTable = ({ membershipId, handlePopUpOpen }: Props) => {
|
|||||||
})}
|
})}
|
||||||
</TBody>
|
</TBody>
|
||||||
</Table>
|
</Table>
|
||||||
<Pagination
|
{Boolean(filteredProjects.length) && (
|
||||||
count={filteredProjects.length}
|
<Pagination
|
||||||
page={page}
|
count={filteredProjects.length}
|
||||||
perPage={perPage}
|
page={page}
|
||||||
onChangePage={setPage}
|
perPage={perPage}
|
||||||
onChangePerPage={setPerPage}
|
onChangePage={setPage}
|
||||||
/>
|
onChangePerPage={setPerPage}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
{!isLoading && !filteredProjects?.length && (
|
{!isLoading && !filteredProjects?.length && (
|
||||||
<EmptyState
|
<EmptyState
|
||||||
title={
|
title={
|
||||||
|
|||||||
Reference in New Issue
Block a user