Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added banner on crossing user/identity limit

=ac73800acb3a
diff --git a/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx b/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx
index caab7ddff1..948b65e9d7 100644
--- a/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx
+++ b/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx
@@ -41,9 +41,9 @@ export const ProjectLayout = () => {
const shouldUpgrade = Boolean(hasUserLimitCrossed || hasIdentityLimitCrossed);
let upgradeText = "";
if (hasUserLimitCrossed) {
- upgradeText = `You've reached the maximum number of organisation users(${subscription.membersUsed}/${subscription?.memberLimit}).`;
+ upgradeText = `You've reached the maximum number of organisation users(${subscription?.memberLimit}).`;
} else if (hasIdentityLimitCrossed) {
- upgradeText = `You've reached the maximum number of organisation identities(${subscription.identitiesUsed}/${subscription?.identityLimit}).`;
+ upgradeText = `You've reached the maximum number of organisation identities(${subscription?.identityLimit}).`;
}
const isSecretManager = currentWorkspace?.type === ProjectType.SecretManager;