Status view live data now works again...

This commit is contained in:
softsimon 2020-12-09 01:37:14 +07:00
parent 5b8bcd5b7d
commit 260735665b
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -1,9 +1,16 @@
import { Component } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { WebsocketService } from 'src/app/services/websocket.service';
@Component({
selector: 'app-status-view',
templateUrl: './status-view.component.html'
})
export class StatusViewComponent {
constructor() { }
export class StatusViewComponent implements OnInit {
constructor(
private websocketService: WebsocketService,
) { }
ngOnInit() {
this.websocketService.want(['mempool-blocks', 'stats']);
}
}