diff --git a/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html b/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html index 55675f2186..50db2cb6a3 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html +++ b/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.html @@ -22,7 +22,7 @@ - + {{ getFormattedPlanName(i.planName) }} {{ "orgSeats" | i18n }} ({{ i.cadence.toLowerCase() diff --git a/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.ts b/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.ts index 43521ebe86..1ea888d6eb 100644 --- a/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.ts +++ b/bitwarden_license/bit-web/src/app/billing/providers/subscription/provider-subscription.component.ts @@ -101,4 +101,14 @@ export class ProviderSubscriptionComponent implements OnInit, OnDestroy { this.destroy$.next(); this.destroy$.complete(); } + + get activePlans(): ProviderPlanResponse[] { + return this.subscription.plans.filter((plan) => { + if (plan.purchasedSeats === 0) { + return plan.seatMinimum > 0; + } else { + return plan.purchasedSeats > 0; + } + }); + } }