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:
+3
-5
@@ -42,8 +42,7 @@ export const AuditLogsRetentionSection = () => {
|
||||
try {
|
||||
if (!subscription?.auditLogs) {
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
description:
|
||||
"You can only configure audit logs retention if you switch to Infisical's Pro plan."
|
||||
text: "Your current plan does not provide access to configuring audit logs retention. To unlock this feature, please upgrade to Infisical Pro plan."
|
||||
});
|
||||
|
||||
return;
|
||||
@@ -51,8 +50,7 @@ export const AuditLogsRetentionSection = () => {
|
||||
|
||||
if (subscription && auditLogsRetentionDays > subscription?.auditLogsRetentionDays) {
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
description:
|
||||
"To update your audit logs retention period to a higher value, switch to Infisical's Pro plan."
|
||||
text: "Your current plan does not provide access to updating audit logs retention period to a higher value. To unlock this feature, please upgrade to Infisical Pro plan."
|
||||
});
|
||||
|
||||
return;
|
||||
@@ -123,7 +121,7 @@ export const AuditLogsRetentionSection = () => {
|
||||
<UpgradePlanModal
|
||||
isOpen={popUp.upgradePlan.isOpen}
|
||||
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
|
||||
text={(popUp.upgradePlan?.data as { description: string })?.description}
|
||||
text={popUp.upgradePlan?.data?.text}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user