From a3a06149484ac596441a6a8e73c1f017b8b6bf4b Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 5 Nov 2025 10:21:55 +1000 Subject: [PATCH] Fix #4828 showing incorrect certicificate value --- .../Table/Formatter/CertificateFormatter.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 ; }