Merge pull request #5428 from mempool/mononaut/payment-method-click

[accelerator] fix click binding on payment method buttons
This commit is contained in:
wiz
2024-08-05 14:02:51 -04:00
committed by GitHub

View File

@@ -403,14 +403,14 @@
} }
@if (canPayWithApplePay) { @if (canPayWithApplePay) {
@if (canPayWithCashapp) { <span class="mt-1 mb-1"></span> } @if (canPayWithCashapp) { <span class="mt-1 mb-1"></span> }
<div class="paymentMethod mx-2" style="width: 200px; height: 55px"> <div class="paymentMethod mx-2" style="width: 200px; height: 55px" (click)="moveToStep('applepay')">
<img src="/resources/apple-pay.png" height=37 (click)="moveToStep('applepay')"> <img src="/resources/apple-pay.png" height=37>
</div> </div>
} }
@if (canPayWithGooglePay) { @if (canPayWithGooglePay) {
@if (canPayWithCashapp || canPayWithApplePay) { <span class="mt-1 mb-1"></span> } @if (canPayWithCashapp || canPayWithApplePay) { <span class="mt-1 mb-1"></span> }
<div class="paymentMethod mx-2" style="width: 200px; height: 55px"> <div class="paymentMethod mx-2" style="width: 200px; height: 55px" (click)="moveToStep('googlepay')">
<img src="/resources/google-pay.png" height=37 (click)="moveToStep('googlepay')"> <img src="/resources/google-pay.png" height=37>
</div> </div>
} }
</div> </div>