mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 05:00:56 +00:00
fix: updates plan upgradation tezt
This commit is contained in:
+1
-1
@@ -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."
|
||||
})
|
||||
}
|
||||
/>
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user