fix: updates plan upgradation tezt

This commit is contained in:
Piyush Gupta
2025-10-29 18:47:26 +05:30
parent a04597aa87
commit 4649949a26
42 changed files with 53 additions and 53 deletions
@@ -32,7 +32,7 @@ export const GroupsSection = () => {
const handleAddGroupModal = () => {
if (!subscription?.groups) {
handlePopUpOpen("upgradePlan", {
text: "Your current plan does not provide access to managing groups. To unlock this feature, please upgrade to Infisical Enterprise plan.",
text: "Managing groups can be unlocked if you upgrade to Infisical Enterprise plan.",
isEnterpriseFeature: true
});
} else {
@@ -190,7 +190,7 @@ export const Page = () => {
isMembershipDetailsLoading={isMembershipDetailsLoading}
onOpenUpgradeModal={() =>
handlePopUpOpen("upgradePlan", {
text: "Your current plan does not provide access to assigning custom roles to members. To unlock this feature, please upgrade to Infisical Pro plan."
text: "Assigning custom roles to members can be unlocked if you upgrade to Infisical Pro plan."
})
}
/>
@@ -42,7 +42,7 @@ export const AuditLogsRetentionSection = () => {
try {
if (!subscription?.auditLogs) {
handlePopUpOpen("upgradePlan", {
text: "Your current plan does not provide access to configuring audit logs retention. To unlock this feature, please upgrade to Infisical Pro plan."
text: "Configuring audit logs retention can be unlocked if you upgrade to Infisical Pro plan."
});
return;
@@ -50,7 +50,7 @@ export const AuditLogsRetentionSection = () => {
if (subscription && auditLogsRetentionDays > subscription?.auditLogsRetentionDays) {
handlePopUpOpen("upgradePlan", {
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."
text: "Updating audit logs retention period to a higher value can be unlocked if you upgrade to Infisical Pro plan."
});
return;