From a5db8ef2d8eb1006604c0dfba39cc9959f0fe3b2 Mon Sep 17 00:00:00 2001 From: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com> Date: Wed, 1 Apr 2026 13:58:56 -0400 Subject: [PATCH] Remove pm-23341-milestone-2 flagged logic from user-subscription component (#19867) Remove the enableDiscountDisplay$ feature flag observable and collapse the ngIf/else template to always show the discount badge. The badge handles null/no-discount gracefully. --- .../user-subscription.component.html | 25 ++++++------------- .../individual/user-subscription.component.ts | 7 ------ 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/apps/web/src/app/billing/individual/user-subscription.component.html b/apps/web/src/app/billing/individual/user-subscription.component.html index 89c4c08e9ab..c8e15a25846 100644 --- a/apps/web/src/app/billing/individual/user-subscription.component.html +++ b/apps/web/src/app/billing/individual/user-subscription.component.html @@ -55,23 +55,14 @@
{{ "nextChargeHeader" | i18n }}
- -
- - {{ sub.subscription.periodEndDate | date: "MMM d, y" }} - - -
-
- -
- - {{ sub.subscription.periodEndDate | date: "MMM d, y" }} - -
-
+
+ + {{ sub.subscription.periodEndDate | date: "MMM d, y" }} + + +
; reinstatePromise: Promise; - protected enableDiscountDisplay$ = this.configService.getFeatureFlag$( - FeatureFlag.PM23341_Milestone_2, - ); - constructor( private apiService: ApiService, private platformUtilsService: PlatformUtilsService, @@ -63,7 +57,6 @@ export class UserSubscriptionComponent implements OnInit { private billingAccountProfileStateService: BillingAccountProfileStateService, private toastService: ToastService, private accountService: AccountService, - private configService: ConfigService, ) { this.selfHosted = this.platformUtilsService.isSelfHost(); }