Merge pull request #4748 from Infisical/fix-enterprise-plan-check

fix(front-end): add optional chain operator to fix enterprise check from throwing error
This commit is contained in:
Scott Wilson
2025-10-24 19:27:51 -07:00
committed by GitHub

View File

@@ -1281,7 +1281,7 @@ export const ActionBar = ({
subscription.slug === null
? "You can perform this action under an Enterprise license"
: `You can perform this action if you switch to Infisical's ${
popUp.upgradePlan.data.isEnterpriseFeature ? "Enterprise" : "Pro"
popUp.upgradePlan.data?.isEnterpriseFeature ? "Enterprise" : "Pro"
} plan`
}
/>