0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

Merge pull request #6987 from logto-io/yemq-saml-guide-card-remove-feature-guard

chore: remove SAML app guide card feature guard
This commit is contained in:
Darcy Ye 2025-01-27 18:44:07 +08:00 committed by GitHub
parent e41e0c99e3
commit a213856ea2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View file

@ -9,7 +9,6 @@ const metadata = Object.freeze({
isThirdParty: false,
skipGuideAfterCreation: true,
isCloud: true,
isDevFeature: true,
} satisfies GuideMetadata);
export default metadata;

View file

@ -68,9 +68,7 @@ function GuideCard({ data, onClick, hasBorder, hasButton, hasPaywall, isBeta }:
<div className={styles.tagWrapper}>
{hasPaywall &&
(target === ApplicationType.SAML ? (
isEnterprisePlan ? null : (
<FeatureTag isVisible isEnterprise />
)
<FeatureTag isEnterprise isVisible={!isEnterprisePlan} />
) : (
<FeatureTag isVisible plan={latestProPlanId} />
))}