Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: add optional chain operator to fix enterprise check from throwing error
Scott Wilson793a313f1d6e
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/ActionBar.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/ActionBar.tsxindex efee5f313b..46ff873b5c 100644--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/ActionBar.tsx+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/ActionBar.tsx@@ -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`}/>