[accelerator] fix click binding on payment method buttons

This commit is contained in:
Mononaut 2024-08-05 16:15:53 +00:00
parent 5eb117165f
commit 1c69613d65
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

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>