The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(ai): tell members without billing permission why AI stopped at the usage cap (#22487)
Félix Malfait310742519b1e
diff --git a/packages/twenty-front/src/modules/ai/components/AIChatNoMoreBillingCreditsBanner.tsx b/packages/twenty-front/src/modules/ai/components/AIChatNoMoreBillingCreditsBanner.tsxindex aea77efd358..c8292ec6216 100644--- a/packages/twenty-front/src/modules/ai/components/AIChatNoMoreBillingCreditsBanner.tsx+++ b/packages/twenty-front/src/modules/ai/components/AIChatNoMoreBillingCreditsBanner.tsx@@ -47,7 +47,12 @@ export const AIChatNoMoreBillingCreditsBanner = () => {} = useCreditUpgradeAction();if (!hasPermissionToManageBilling) {- return null;+ return (+ <AiChatBanner+ message={t`Your workspace hit its AI usage limit. Ask an admin to upgrade the plan.`}+ variant="warning"+ />+ );}const message = isTrialing