2019-07-21 16:59:47 +02:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2019-07-26 11:48:32 +02:00
|
|
|
import { ApiService } from '../services/api.service';
|
2019-07-21 16:59:47 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-about',
|
|
|
|
templateUrl: './about.component.html',
|
|
|
|
styleUrls: ['./about.component.scss']
|
|
|
|
})
|
|
|
|
export class AboutComponent implements OnInit {
|
|
|
|
|
2019-07-26 11:48:32 +02:00
|
|
|
constructor(
|
|
|
|
private apiService: ApiService,
|
|
|
|
) { }
|
2019-07-21 16:59:47 +02:00
|
|
|
|
|
|
|
ngOnInit() {
|
2019-07-26 11:48:32 +02:00
|
|
|
this.apiService.sendWebSocket({'action': 'want', data: []});
|
2019-07-21 16:59:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|