Skip to content

Commit

Permalink
Revert "I have no idea if this would work."
Browse files Browse the repository at this point in the history
This reverts commit dccc779.
  • Loading branch information
wrandall22 committed Aug 18, 2023
1 parent 9736871 commit 8158233
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ class EditRecurringGiftsController {
allPaymentMethodsValid () {
return every(this.recurringGifts, gift => gift.paymentMethod)
}

allAmountsValid () {
return every(this.recurringGifts, gift => gift.amount)
}
}

export default angular
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h3 translate>Make changes to your recurring gifts</h3>
<a class="btn btn-primary" ng-if="$ctrl.loadingError" ng-click="$ctrl.loadGifts()" translate>Retry</a>
<a class="btn btn-primary" ng-if="!$ctrl.loadingError"
ng-click="$ctrl.next({ recurringGifts: $ctrl.recurringGifts })"
ng-disabled="!$ctrl.allPaymentMethodsValid() || !$ctrl.allAmountsValid()"
ng-disabled="!$ctrl.allPaymentMethodsValid()"
translate>
Continue
</a>
Expand Down

0 comments on commit 8158233

Please sign in to comment.