Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fixed Pagination Disappearing on Secret Sharing Page

Rhythm Bhiwani5db3e177eb37
diff --git a/frontend/src/views/ShareSecretPage/components/ShareSecretsTable.tsx b/frontend/src/views/ShareSecretPage/components/ShareSecretsTable.tsx
index 33dfa297a2..bdb2b2ffa1 100644
--- a/frontend/src/views/ShareSecretPage/components/ShareSecretsTable.tsx
+++ b/frontend/src/views/ShareSecretPage/components/ShareSecretsTable.tsx
@@ -61,7 +61,7 @@ export const ShareSecretsTable = ({ handlePopUpOpen }: Props) => {
</Table>
{!isLoading &&
data?.secrets &&
- data.secrets.length >= perPage &&
+ data?.totalCount >= perPage &&
data?.totalCount !== undefined && (
<Pagination
count={data.totalCount}