From 1da9489be819e0eca9905a4c8a8469d794428c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 16 Feb 2018 17:13:51 +0100 Subject: [PATCH] Remove WebSocketService from dashboard component --- src/app/dashboard/dashboard.component.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index 389f8e1..27fcd21 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -1,6 +1,4 @@ import { Component, OnInit } from '@angular/core'; -import { WebSocketService } from '../websocket.service'; -import { FSMUpdateService } from '../fsmupdate.service'; @Component({ selector: 'app-dashboard', @@ -8,11 +6,8 @@ import { FSMUpdateService } from '../fsmupdate.service'; styleUrls: ['./dashboard.component.scss'] }) export class DashboardComponent implements OnInit { - constructor(private webSocketService: WebSocketService, private fsmUpdateService: FSMUpdateService) {} + constructor() {} ngOnInit() { - this.webSocketService.connect(); - this.webSocketService.send('reset', ''); - this.fsmUpdateService.init(); } }