mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 11:36:07 +01:00
Fix loading indicator when changing page
This commit is contained in:
parent
9d3044efae
commit
a1f1b09c55
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ export class AccelerationsListComponent implements OnInit, OnDestroy {
|
|||
|
||||
this.accelerationList$ = this.pageSubject.pipe(
|
||||
switchMap((page) => {
|
||||
this.isLoading = true;
|
||||
const accelerationObservable$ = this.accelerations$ || (this.pending ? this.stateService.liveAccelerations$ : this.servicesApiService.getAccelerationHistoryObserveResponse$({ page: page }));
|
||||
if (!this.accelerations$ && this.pending) {
|
||||
this.websocketService.ensureTrackAccelerations();
|
||||
|
|
Loading…
Add table
Reference in a new issue