Fix error on transaction page when acceleration is disabled

This commit is contained in:
softsimon 2024-01-02 11:25:50 +07:00
parent 09041c50ef
commit a498f9205b
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -242,6 +242,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
}); });
this.fetchAccelerationSubscription = this.fetchAcceleration$.pipe( this.fetchAccelerationSubscription = this.fetchAcceleration$.pipe(
filter(() => this.stateService.env.ACCELERATOR === true),
tap(() => { tap(() => {
this.accelerationInfo = null; this.accelerationInfo = null;
}), }),