mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-10 20:56:39 +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 */}
|
{/* 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>
|
||||||
|
|||||||
@@ -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)) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user