Handle paginated acceleration results

This commit is contained in:
Mononaut
2024-08-28 14:38:12 +00:00
parent 3bea10ea35
commit b526ee0877
5 changed files with 28 additions and 5 deletions

View File

@@ -319,7 +319,7 @@ export class BlockComponent implements OnInit, OnDestroy {
this.accelerationsSubscription = this.block$.pipe(
switchMap((block) => {
return this.stateService.env.ACCELERATOR === true && block.height > 819500
? this.servicesApiService.getAccelerationHistory$({ blockHeight: block.height })
? this.servicesApiService.getAllAccelerationHistory$({ blockHeight: block.height })
.pipe(catchError(() => {
return of([]);
}))