Skip to content

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

Remove UI block on PAN sync

Carlos Monastyrskidead017e30a7
diff --git a/frontend/src/components/pki-syncs/PkiSyncRemoveCertificatesModal.tsx b/frontend/src/components/pki-syncs/PkiSyncRemoveCertificatesModal.tsx
index c1307fc241..7403928e78 100644
--- a/frontend/src/components/pki-syncs/PkiSyncRemoveCertificatesModal.tsx
+++ b/frontend/src/components/pki-syncs/PkiSyncRemoveCertificatesModal.tsx
@@ -21,7 +21,6 @@ import {
} from "@app/hooks/api/pkiSyncs";
import {
- arePkiSyncRemovalOptionsComplete,
hasPkiSyncRemovalOptions,
PkiSyncRemovalOptionsFields
} from "./PkiSyncRemovalOptionsFields";
@@ -89,13 +88,6 @@ export const PkiSyncRemoveCertificatesModal = ({ isOpen, onOpenChange, pkiSync }
variant="danger"
onClick={handleTriggerRemoveCertificates}
isPending={triggerRemoveCertificates.isPending}
- isDisabled={
- !arePkiSyncRemovalOptionsComplete(
- destination,
- { remainingCertificateCount: 0 },
- removalOptions
- )
- }
>
Remove Certificates
</AlertDialogAction>