[accelerator] make sure we cannot go back from 'success' step

This commit is contained in:
nymkappa 2025-03-12 15:26:44 +01:00
parent 7d9e275803
commit cac404ae9b
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -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;