Skip to content

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

improvement(pki): name the private key column and fix the toast plural

Saifb595c8c745f8
diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx
index 2acde659c2..bc3c861438 100644
--- a/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx
+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/CertificateImportModal.tsx
@@ -192,7 +192,7 @@ export const CertificateImportModal = ({ popUp, handlePopUpToggle, applicationId
const imported = results.filter((result) => !result.error).length;
if (imported) {
createNotification({
- text: `Imported ${imported} of ${results.length} certificates`,
+ text: `Imported ${imported} of ${results.length} certificate${results.length === 1 ? "" : "s"}`,
type: "success"
});
}
@@ -298,7 +298,7 @@ export const CertificateImportModal = ({ popUp, handlePopUpToggle, applicationId
/>
</TableHead>
<TableHead>SAN / CN</TableHead>
- <TableHead className="w-40">Key</TableHead>
+ <TableHead className="w-40">Private Key</TableHead>
<TableHead className="w-24">Chain</TableHead>
<TableHead className="w-44">Expires</TableHead>
</TableRow>