From 1da7f2052cbf3e9396c26e3236aaba88babac9ff Mon Sep 17 00:00:00 2001 From: Vicki League Date: Thu, 27 Feb 2025 11:39:46 -0500 Subject: [PATCH] [PM-18663] Fix calls to bit-button loading states (#13592) --- .../src/billing/popup/settings/premium-v2.component.html | 6 +++--- .../app/billing/individual/user-subscription.component.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/browser/src/billing/popup/settings/premium-v2.component.html b/apps/browser/src/billing/popup/settings/premium-v2.component.html index f578de8ae7..4f87a0f678 100644 --- a/apps/browser/src/billing/popup/settings/premium-v2.component.html +++ b/apps/browser/src/billing/popup/settings/premium-v2.component.html @@ -45,14 +45,14 @@ #refreshBtn type="button" (click)="refresh()" - [disabled]="$any(refreshBtn).loading" + [disabled]="$any(refreshBtn).loading()" [appApiAction]="refreshPromise" bitButton > - {{ "premiumRefresh" | i18n }} + {{ "premiumRefresh" | i18n }} 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 1c1382cd81..e801237467 100644 --- a/apps/web/src/app/billing/individual/user-subscription.component.html +++ b/apps/web/src/app/billing/individual/user-subscription.component.html @@ -27,7 +27,7 @@ #reinstateBtn (click)="reinstate()" [appApiAction]="reinstatePromise" - [disabled]="$any(reinstateBtn).loading" + [disabled]="$any(reinstateBtn).loading()" > {{ "reinstateSubscription" | i18n }} @@ -109,7 +109,7 @@ class="tw-ml-auto" (click)="cancelSubscription()" [appApiAction]="cancelPromise" - [disabled]="$any(cancelBtn).loading" + [disabled]="$any(cancelBtn).loading()" *ngIf="subscription && !subscription.cancelled && !subscriptionMarkedForCancel" > {{ "cancelSubscription" | i18n }}