Merge pull request #2280 from rhythmbhiwani/fix-pagination-disappear

Fixed Pagination Disappearing on Secret Sharing Page
This commit is contained in:
Maidul Islam
2024-08-14 14:54:37 -04:00
committed by GitHub
@@ -61,7 +61,7 @@ export const ShareSecretsTable = ({ handlePopUpOpen }: Props) => {
</Table> </Table>
{!isLoading && {!isLoading &&
data?.secrets && data?.secrets &&
data.secrets.length >= perPage && data?.totalCount >= perPage &&
data?.totalCount !== undefined && ( data?.totalCount !== undefined && (
<Pagination <Pagination
count={data.totalCount} count={data.totalCount}