From 199589d42e1f841bae119a32aca2f4f75e6946d8 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Fri, 3 Apr 2026 23:09:19 -0600 Subject: [PATCH] feat(certificates): display server information in certificate details - Added a new section to the certificate details view to show associated server information, including the server name and IP address, enhancing the visibility of server-related data for each certificate. - Updated the API to include server data when fetching certificates. --- .../dashboard/settings/certificates/show-certificates.tsx | 7 +++++++ apps/dokploy/server/api/routers/certificate.ts | 3 +++ 2 files changed, 10 insertions(+) diff --git a/apps/dokploy/components/dashboard/settings/certificates/show-certificates.tsx b/apps/dokploy/components/dashboard/settings/certificates/show-certificates.tsx index c1c9cc795..c69451c89 100644 --- a/apps/dokploy/components/dashboard/settings/certificates/show-certificates.tsx +++ b/apps/dokploy/components/dashboard/settings/certificates/show-certificates.tsx @@ -4,6 +4,7 @@ import { ChevronRight, Link, Loader2, + Server, ShieldCheck, Trash2, } from "lucide-react"; @@ -121,6 +122,12 @@ export const ShowCertificates = () => { CN: {commonName} )} + + + {certificate.server + ? `${certificate.server.name} (${certificate.server.ipAddress})` + : "Dokploy (Local)"} + {chainInfo.isChain && (