Revert "Disable accelerate button after submission"

This reverts commit e55b1740db.
This commit is contained in:
nymkappa
2024-04-10 13:53:21 +09:00
parent 317b1b6ac5
commit 73f241e9c3
2 changed files with 2 additions and 9 deletions

View File

@@ -26,7 +26,7 @@
</ng-container>
<ng-container *ngIf="estimate else loadingEstimate">
<div [class]="{estimateDisabled: error || processing || showSuccess }">
<div [class]="{estimateDisabled: error}">
<div *ngIf="user && !estimate.hasAccess">
<div class="alert alert-mempool">You are currently on the waitlist</div>
@@ -286,7 +286,7 @@
</div>
</div>
@if (!hideCashApp && !(error || processing || showSuccess) && paymentType === 'cashapp') {
@if (!hideCashApp && paymentType === 'cashapp') {
<div #cashappCTA class="cashapp-placeholder {{ stickyCTA }}"></div>
<div class="d-flex justify-content-center align-items-center cashapp-cta {{ stickyCTA }}" (click)="submitCashappPay()">
<div [style]="showSpinner ? 'opacity: 0' : 'opacity: 1'" class="p-2">Accelerate for <app-fiat [value]="maxCost" [colorClass]="estimate.userBalance < maxCost ? 'red-color' : 'green-color'"></app-fiat> with</div>