From 6a5afd7f95adb9688608c7da815cd46507d6236f Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 12 May 2023 21:08:12 -0600 Subject: [PATCH] Add missing clock websocket subscriptions --- frontend/src/app/components/clock-face/clock-face.component.ts | 1 - frontend/src/app/components/clock/clock.component.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/app/components/clock-face/clock-face.component.ts b/frontend/src/app/components/clock-face/clock-face.component.ts index 01e439e8e..c2c946b74 100644 --- a/frontend/src/app/components/clock-face/clock-face.component.ts +++ b/frontend/src/app/components/clock-face/clock-face.component.ts @@ -26,7 +26,6 @@ export class ClockFaceComponent implements OnInit, OnChanges, OnDestroy { constructor( public stateService: StateService, - private websocketService: WebsocketService, private cd: ChangeDetectorRef ) { this.updateTime(); diff --git a/frontend/src/app/components/clock/clock.component.ts b/frontend/src/app/components/clock/clock.component.ts index dea2de4c8..285f91ff8 100644 --- a/frontend/src/app/components/clock/clock.component.ts +++ b/frontend/src/app/components/clock/clock.component.ts @@ -52,7 +52,7 @@ export class ClockComponent implements OnInit { ngOnInit(): void { this.resizeCanvas(); - this.websocketService.want(['blocks']); + this.websocketService.want(['blocks', 'stats', 'mempool-blocks']); this.blocksSubscription = this.stateService.blocks$ .subscribe(([block]) => {