Status view live data now works again...
This commit is contained in:
parent
5b8bcd5b7d
commit
260735665b
@ -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']);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user