mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 18:32:19 +01: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…
Reference in New Issue
Block a user