mempool/frontend/src/app/components/status-view/status-view.component.ts

17 lines
431 B
TypeScript
Raw Normal View History

import { Component, OnInit } from '@angular/core';
2022-09-21 17:23:45 +02:00
import { WebsocketService } from '../../services/websocket.service';
2020-07-02 17:56:15 +07:00
@Component({
selector: 'app-status-view',
templateUrl: './status-view.component.html'
})
export class StatusViewComponent implements OnInit {
constructor(
private websocketService: WebsocketService,
) { }
ngOnInit() {
this.websocketService.want(['mempool-blocks', 'stats', 'blocks']);
}
2020-07-02 17:56:15 +07:00
}