mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-20 10:23:57 +00:00
fix: upgrade plan modal text
This commit is contained in:
@@ -71,7 +71,7 @@ export const PkiSyncSelect = ({ onSelect }: Props) => {
|
||||
enterprise && !subscription.enterpriseCertificateSyncs
|
||||
? handlePopUpOpen("upgradePlan", {
|
||||
isEnterpriseFeature: true,
|
||||
text: "You can use every Certificate Sync if you switch to Infisical's Enterprise plan."
|
||||
text: "All Certificate Syncs can be unlocked if you switch to Infisical Enterprise plan."
|
||||
})
|
||||
: onSelect(destination)
|
||||
}
|
||||
@@ -152,7 +152,7 @@ export const PkiSyncSelect = ({ onSelect }: Props) => {
|
||||
isOpen={popUp.upgradePlan.isOpen}
|
||||
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
|
||||
isEnterpriseFeature={popUp.upgradePlan.data?.isEnterpriseFeature}
|
||||
text="You can use every Certificate Sync if you switch to Infisical's Enterprise plan."
|
||||
text={popUp.upgradePlan.data?.text}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -68,7 +68,8 @@ export const SecretSyncSelect = ({ onSelect }: Props) => {
|
||||
onClick={() =>
|
||||
enterprise && !subscription.enterpriseSecretSyncs
|
||||
? handlePopUpOpen("upgradePlan", {
|
||||
isEnterpriseFeature: true
|
||||
isEnterpriseFeature: true,
|
||||
text: "All Secret Syncs can be unlocked if you switch to Infisical's Enterprise plan."
|
||||
})
|
||||
: onSelect(destination)
|
||||
}
|
||||
@@ -149,7 +150,7 @@ export const SecretSyncSelect = ({ onSelect }: Props) => {
|
||||
isOpen={popUp.upgradePlan.isOpen}
|
||||
isEnterpriseFeature={popUp.upgradePlan.data?.isEnterpriseFeature}
|
||||
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
|
||||
text="You can use every Secret Sync if you switch to Infisical's Enterprise plan."
|
||||
text={popUp.upgradePlan.data?.text}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user