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

@@ -65,6 +65,7 @@ import { ColumnFilterButton } from "./ColumnFilterButton";
import { ControlledDataTable } from "./ui/controlled-data-table";
import UptimeMiniBar from "./UptimeMiniBar";
import { ResourceAccessCertIndicator } from "@app/components/ResourceAccessCertIndicator";
import { build } from "@server/build";
export type TargetHealth = {
targetId: number;
@@ -554,6 +555,7 @@ export default function ProxyResourcesTable({
const domainId = resourceRow.domainId;
const certHostname = resourceRow.fullDomain;
const showHttpsCertIndicator =
build !== "oss" &&
resourceRow.ssl &&
certHostname != null &&
certHostname !== "";