From a0bfa36df86ed557564b119f4f149a7d608ee8d0 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 25 May 2022 14:52:19 +0200 Subject: [PATCH] Merge pull request #8142 from overleaf/tm-fix-recurly-double-submission Fix plan change buttons not being disabled while request inflight GitOrigin-RevId: a87c89ce6c9642a7988e2dfcc7ee6e3673c6128d --- .../dashboard/_personal_subscription_recurly.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/subscriptions/dashboard/_personal_subscription_recurly.pug b/services/web/app/views/subscriptions/dashboard/_personal_subscription_recurly.pug index e8ec18b35b..cec986599e 100644 --- a/services/web/app/views/subscriptions/dashboard/_personal_subscription_recurly.pug +++ b/services/web/app/views/subscriptions/dashboard/_personal_subscription_recurly.pug @@ -128,7 +128,7 @@ script(type='text/ng-template', id='confirmChangePlanModalTemplate') ng-click="cancel()" ) #{translate("cancel")} button.btn.btn-success( - ng-disabled="state.inflight" + ng-disabled="inflight" ng-click="confirmChangePlan()" ) span(ng-hide="inflight") #{translate("change_plan")} @@ -147,7 +147,7 @@ script(type='text/ng-template', id='cancelPendingPlanChangeModalTemplate') ng-click="cancel()" ) #{translate("cancel")} button.btn.btn-success( - ng-disabled="state.inflight" + ng-disabled="inflight" ng-click="confirmCancelPendingPlanChange()" ) span(ng-hide="inflight") #{translate("revert_pending_plan_change")}