Skip to content

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

feat: removed deprecation banner for self serve customers

=f016662dec84
diff --git a/frontend/src/pages/organization/BillingV2Page/components/cards/ProductsCard.tsx b/frontend/src/pages/organization/BillingV2Page/components/cards/ProductsCard.tsx
index 83c8dde992..292f486926 100644
--- a/frontend/src/pages/organization/BillingV2Page/components/cards/ProductsCard.tsx
+++ b/frontend/src/pages/organization/BillingV2Page/components/cards/ProductsCard.tsx
@@ -56,10 +56,7 @@ const ActiveProductCard = ({
// "Commit annually and save" nudge: shown when the org holds this product monthly but hasn't set the
// available commitment. Clicking opens the set-commitment flow. Hidden for enterprise-managed orgs.
const commitNudge = readOnly || !selfServe ? null : commitSavingsNudge(entitlement);
- // Every deprecation is presented as a retiring plan for now (see asPlanDeprecation).
- const deprecation = !entitlement?.planTier?.includes("enterprise")
- ? asPlanDeprecation(entitlement?.deprecation)
- : null;
+ const deprecation = selfServe ? asPlanDeprecation(entitlement?.deprecation) : null;
const isProductDeprecated = deprecation?.kind === "product";
const isPlanDeprecated = deprecation?.kind === "plan";
diff --git a/frontend/src/pages/organization/BillingV2Page/components/deprecation/DeprecationBanners.tsx b/frontend/src/pages/organization/BillingV2Page/components/deprecation/DeprecationBanners.tsx
index 5b35bd319d..8cb2469794 100644
--- a/frontend/src/pages/organization/BillingV2Page/components/deprecation/DeprecationBanners.tsx
+++ b/frontend/src/pages/organization/BillingV2Page/components/deprecation/DeprecationBanners.tsx
@@ -48,7 +48,7 @@ export const DeprecationBanners = ({
return (a.deprecation.daysLeft ?? Infinity) - (b.deprecation.daysLeft ?? Infinity);
});
- if (entries.length === 0) {
+ if (entries.length === 0 || !overview.selfServe) {
return null;
}