mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-08 05:56:38 +00:00
rename generateOwnCertificates and check in resource header
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -460,7 +460,7 @@ const AuthPageSettings = forwardRef<AuthPageSettingsRef, AuthPageSettingsProps>(
|
||||
)}
|
||||
|
||||
{env.flags
|
||||
.generateOwnCertificates &&
|
||||
.usePangolinDns &&
|
||||
(build === "enterprise" ||
|
||||
(build === "saas" &&
|
||||
subscription?.subscribed)) &&
|
||||
|
||||
Reference in New Issue
Block a user