rename generateOwnCertificates and check in resource header

This commit is contained in:
Owen
2025-10-13 14:26:36 -07:00
parent 19210cbf7d
commit 4b93491160
2 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
{/* 4 cols because of the certs */} {/* 4 cols because of the certs */}
<InfoSections <InfoSections
cols={ cols={
resource.http && env.flags.generateOwnCertificates resource.http && env.flags.usePangolinDns
? 4 ? 4
: 3 : 3
} }
@@ -137,6 +137,7 @@ export default function ResourceInfoBox({}: ResourceInfoBoxType) {
{resource.http && {resource.http &&
resource.domainId && resource.domainId &&
resource.fullDomain && resource.fullDomain &&
env.flags.usePangolinDns &&
build != "oss" && ( build != "oss" && (
<InfoSection> <InfoSection>
<InfoSectionTitle> <InfoSectionTitle>

View File

@@ -460,7 +460,7 @@ const AuthPageSettings = forwardRef<AuthPageSettingsRef, AuthPageSettingsProps>(
)} )}
{env.flags {env.flags
.generateOwnCertificates && .usePangolinDns &&
(build === "enterprise" || (build === "enterprise" ||
(build === "saas" && (build === "saas" &&
subscription?.subscribed)) && subscription?.subscribed)) &&