hide cert in public resources col on oss

This commit is contained in:
miloschwartz
2026-04-29 16:03:59 -07:00
parent 0a0817b860
commit dcfc7822f4
2 changed files with 4 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ import {
type ResourceSiteRow
} from "@app/components/ResourceSitesStatusCell";
import { ResourceAccessCertIndicator } from "@app/components/ResourceAccessCertIndicator";
import { build } from "@server/build";
export type InternalResourceSiteRow = ResourceSiteRow;
@@ -445,6 +446,7 @@ export default function ClientResourcesTable({
const fullDomain = resourceRow.fullDomain;
const url = `${resourceRow.ssl ? "https" : "http"}://${fullDomain}`;
const did =
build !== "oss" &&
resourceRow.ssl &&
domainId != null &&
domainId !== "" &&