mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 15:26:20 +00:00
fix: add optional chain operator to fix enterprise check from throwing error
This commit is contained in:
+1
-1
@@ -1281,7 +1281,7 @@ export const ActionBar = ({
|
|||||||
subscription.slug === null
|
subscription.slug === null
|
||||||
? "You can perform this action under an Enterprise license"
|
? "You can perform this action under an Enterprise license"
|
||||||
: `You can perform this action if you switch to Infisical's ${
|
: `You can perform this action if you switch to Infisical's ${
|
||||||
popUp.upgradePlan.data.isEnterpriseFeature ? "Enterprise" : "Pro"
|
popUp.upgradePlan.data?.isEnterpriseFeature ? "Enterprise" : "Pro"
|
||||||
} plan`
|
} plan`
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user