Add missing clock websocket subscriptions

This commit is contained in:
Mononaut
2023-05-12 21:08:12 -06:00
parent 97c8ace8f7
commit 6a5afd7f95
2 changed files with 1 additions and 2 deletions

View File

@@ -26,7 +26,6 @@ export class ClockFaceComponent implements OnInit, OnChanges, OnDestroy {
constructor(
public stateService: StateService,
private websocketService: WebsocketService,
private cd: ChangeDetectorRef
) {
this.updateTime();

View File

@@ -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]) => {