diff --git a/src/components/ClientResourcesTable.tsx b/src/components/ClientResourcesTable.tsx
index 5c5906ad5..2bb0c6f27 100644
--- a/src/components/ClientResourcesTable.tsx
+++ b/src/components/ClientResourcesTable.tsx
@@ -51,6 +51,7 @@ import {
ResourceSitesStatusCell,
type ResourceSiteRow
} from "@app/components/ResourceSitesStatusCell";
+import { PrivateResourceCertAccessIndicator } from "@app/components/PrivateResourceCertAccessIndicator";
export type InternalResourceSiteRow = ResourceSiteRow;
@@ -440,13 +441,33 @@ export default function ClientResourcesTable({
);
}
if (resourceRow.mode === "http") {
- const url = `${resourceRow.ssl ? "https" : "http"}://${resourceRow.fullDomain}`;
+ const domainId = resourceRow.domainId;
+ const fullDomain = resourceRow.fullDomain;
+ const url = `${resourceRow.ssl ? "https" : "http"}://${fullDomain}`;
+ const did =
+ resourceRow.ssl &&
+ domainId != null &&
+ domainId !== "" &&
+ fullDomain != null &&
+ fullDomain !== "";
+
return (
-
+ {cert.errorMessage} +
+ ) : null} + {cert.expiresAt && cert.status === "valid" ? ( ++ {t("expiresAt")}:{" "} + {new Date( + cert.expiresAt + ).toLocaleDateString()} +
+ ) : null} + > + )} +