diff --git a/frontend/src/components/Table/Formatter/CertificateFormatter.tsx b/frontend/src/components/Table/Formatter/CertificateFormatter.tsx index d793dae8..6b791bfb 100644 --- a/frontend/src/components/Table/Formatter/CertificateFormatter.tsx +++ b/frontend/src/components/Table/Formatter/CertificateFormatter.tsx @@ -5,5 +5,14 @@ interface Props { certificate?: Certificate; } export function CertificateFormatter({ certificate }: Props) { - return ; + let translation = "http-only"; + if (certificate) { + translation = certificate.provider; + if (translation === "letsencrypt") { + translation = "lets-encrypt"; + } else if (translation === "other") { + translation = "certificates.custom"; + } + } + return ; }