From ac73800acb3a0701d91c877de164d8715f0f97a1 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 16 Apr 2025 00:25:21 +0530 Subject: [PATCH] feat: added banner on crossing user/identity limit --- frontend/src/layouts/ProjectLayout/ProjectLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx b/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx index caab7ddff..948b65e9d 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;