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

View File

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