diff --git a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html index f51cf247b..5bee43f4b 100644 --- a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html +++ b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.html @@ -62,9 +62,9 @@ Pending - Completed 🔄 - Mined 🔄 - Failed 🔄 + Completed ⌛ + Mined ⌛ + Failed ⌛ diff --git a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.ts b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.ts index 46628bde9..e11fd2337 100644 --- a/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.ts +++ b/frontend/src/app/components/acceleration/accelerations-list/accelerations-list.component.ts @@ -50,6 +50,12 @@ export class AccelerationsListComponent implements OnInit, OnDestroy { } ngOnInit(): void { + this.miningService.getPools().subscribe(pools => { + for (const pool of pools) { + this.pools[pool.unique_id] = pool; + } + }); + if (!this.widget) { this.websocketService.want(['blocks']); this.seoService.setTitle($localize`:@@02573b6980a2d611b4361a2595a4447e390058cd:Accelerations`); @@ -82,12 +88,6 @@ export class AccelerationsListComponent implements OnInit, OnDestroy { ).subscribe(() => { this.pageChange(this.page); }); - - this.miningService.getPools().subscribe(pools => { - for (const pool of pools) { - this.pools[pool.unique_id] = pool; - } - }); } this.skeletonLines = this.widget === true ? [...Array(6).keys()] : [...Array(15).keys()];