Merge pull request #8142 from overleaf/tm-fix-recurly-double-submission

Fix plan change buttons not being disabled while request inflight

GitOrigin-RevId: a87c89ce6c9642a7988e2dfcc7ee6e3673c6128d
This commit is contained in:
Thomas 2022-05-25 14:52:19 +02:00 committed by Copybot
parent 1073445c70
commit 6564147b0a

View file

@ -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")}