Skip to content

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

fix: show assign to app for discovered certs

Sheen Capadngandcb983839966
diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
index d7776dfc65..e6c08d003d 100644
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificatesTable.tsx
@@ -1287,19 +1287,17 @@ export const CertificatesTable = ({
Manage PKI Syncs
</DropdownMenuItem>
)}
- {hasProjectRole("admin") &&
- !certificate.applicationId &&
- certificate.source !== CertSource.Discovered && (
- <DropdownMenuItem
- onClick={(e) => {
- e.stopPropagation();
- setAssignTargetId(certificate.id);
- }}
- >
- <BoxIcon />
- Assign to Application
- </DropdownMenuItem>
- )}
+ {hasProjectRole("admin") && !certificate.applicationId && (
+ <DropdownMenuItem
+ onClick={(e) => {
+ e.stopPropagation();
+ setAssignTargetId(certificate.id);
+ }}
+ >
+ <BoxIcon />
+ Assign to Application
+ </DropdownMenuItem>
+ )}
{(() => {
if (
!canRevokeCertificate ||