mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 16:28:12 +00:00
fix: upgrade plan modal text
This commit is contained in:
+5
-5
@@ -906,7 +906,7 @@ export const ActionBar = ({
|
||||
}
|
||||
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
feature: "PIT Recovery"
|
||||
featureName: "PIT Recovery"
|
||||
});
|
||||
}}
|
||||
leftIcon={<FontAwesomeIcon icon={faCodeCommit} />}
|
||||
@@ -1022,7 +1022,7 @@ export const ActionBar = ({
|
||||
return;
|
||||
}
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
feature: "Dynamic Secrets",
|
||||
featureName: "Dynamic Secrets",
|
||||
isEnterpriseFeature: true
|
||||
});
|
||||
}}
|
||||
@@ -1052,7 +1052,7 @@ export const ActionBar = ({
|
||||
return;
|
||||
}
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
feature: "Secret Rotation"
|
||||
featureName: "Secret Rotation"
|
||||
});
|
||||
}}
|
||||
variant="outline_bg"
|
||||
@@ -1221,7 +1221,7 @@ export const ActionBar = ({
|
||||
projectId={projectId}
|
||||
onUpgradePlan={() =>
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
feature: "Secret Imports"
|
||||
featureName: "Secret Imports"
|
||||
})
|
||||
}
|
||||
isOpen={popUp.addSecretImport.isOpen}
|
||||
@@ -1286,7 +1286,7 @@ export const ActionBar = ({
|
||||
isOpen={popUp.upgradePlan.isOpen}
|
||||
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
|
||||
isEnterpriseFeature={popUp.upgradePlan.data?.isEnterpriseFeature}
|
||||
text={`You can use ${popUp.upgradePlan.data?.feature} if you switch to Infisical's ${popUp.upgradePlan.data?.isEnterpriseFeature ? "Enterprise" : "Pro"} plan.`}
|
||||
text={`Your current plan does not provide access to ${popUp.upgradePlan.data?.featureName}. To unlock this feature, please upgrade to Infisical ${popUp.upgradePlan.data?.isEnterpriseFeature ? "Enterprise" : "Pro"} plan.`}
|
||||
/>
|
||||
)}
|
||||
<Modal
|
||||
|
||||
+1
-1
@@ -226,7 +226,7 @@ export const EnvironmentTabs = ({ secretPath }: Props) => {
|
||||
<UpgradePlanModal
|
||||
isOpen={popUp.upgradePlan.isOpen}
|
||||
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
|
||||
text="You can add custom environments if you switch to Infisical's Pro plan."
|
||||
text="Your current plan does not provide access to adding custom environments. To unlock this feature, please upgrade to Infisical Pro plan."
|
||||
/>
|
||||
<AddEnvironmentModal
|
||||
isOpen={popUp.createEnvironment.isOpen}
|
||||
|
||||
+1
-1
@@ -321,7 +321,7 @@ export const SecretDetailSidebar = ({
|
||||
onOpenChange={(isUpgradeModalOpen) =>
|
||||
handlePopUpToggle("secretAccessUpgradePlan", isUpgradeModalOpen)
|
||||
}
|
||||
text="You can access secret access analysis if you switch to Infisical's Pro plan."
|
||||
text="Secret access analysis feature can be unlocked if you upgrade to Infisical Pro plan."
|
||||
/>
|
||||
<Modal
|
||||
isOpen={popUp.secretReferenceTree.isOpen}
|
||||
|
||||
Reference in New Issue
Block a user