mirror of
https://github.com/Retropex/mempool.git
synced 2025-05-12 18:20:41 +02:00
[accelerator] make sure we cannot go back from 'success' step
This commit is contained in:
parent
7d9e275803
commit
cac404ae9b
@ -200,7 +200,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
moveToStep(step: CheckoutStep, force: boolean = false): void {
|
||||
if (this.isCheckoutLocked > 0 && !force) {
|
||||
if (this.isCheckoutLocked > 0 && !force || this.step === 'success') {
|
||||
return;
|
||||
}
|
||||
this.processing = false;
|
||||
|
Loading…
Reference in New Issue
Block a user