mirror of
https://github.com/Infisical/infisical.git
synced 2026-05-02 03:02:03 -04:00
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:
@@ -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`
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user