Merge branch 'master' into natsoni/hide-acc-checkout-on-accelerations
This commit is contained in:
commit
9457032ab1
@ -196,9 +196,11 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
|||||||
if (changes.scrollEvent && this.scrollEvent) {
|
if (changes.scrollEvent && this.scrollEvent) {
|
||||||
this.scrollToElement('acceleratePreviewAnchor', 'start');
|
this.scrollToElement('acceleratePreviewAnchor', 'start');
|
||||||
}
|
}
|
||||||
if (changes.accelerating) {
|
if (changes.accelerating && this.accelerating) {
|
||||||
if ((this.step === 'processing' || this.step === 'paid') && this.accelerating) {
|
if (this.step === 'processing' || this.step === 'paid') {
|
||||||
this.moveToStep('success');
|
this.moveToStep('success');
|
||||||
|
} else { // Edge case where the transaction gets accelerated by someone else or on another session
|
||||||
|
this.closeModal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -971,6 +971,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.filters = [];
|
this.filters = [];
|
||||||
this.showCpfpDetails = false;
|
this.showCpfpDetails = false;
|
||||||
this.showAccelerationDetails = false;
|
this.showAccelerationDetails = false;
|
||||||
|
this.accelerationFlowCompleted = false;
|
||||||
this.accelerationInfo = null;
|
this.accelerationInfo = null;
|
||||||
this.cashappEligible = false;
|
this.cashappEligible = false;
|
||||||
this.txInBlockIndex = null;
|
this.txInBlockIndex = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user