mirror of
https://github.com/mempool/mempool.git
synced 2025-04-08 03:48:31 +02:00
Fix tx page crash when accelerationHistory errors
This commit is contained in:
parent
9394572ec3
commit
06f60df4cf
@ -294,7 +294,7 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
return this.servicesApiService.getAccelerationHistory$({ blockHeight });
|
||||
}),
|
||||
catchError(() => {
|
||||
return of(null);
|
||||
return of([]);
|
||||
})
|
||||
).subscribe((accelerationHistory) => {
|
||||
for (const acceleration of accelerationHistory) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user