From 6f900cc45d7dd7f97430812b86b5c1d1693c8ae3 Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Wed, 29 Aug 2018 17:01:32 +0300 Subject: merge from ecomp a88f0072 - Modern UI Issue-ID: VID-378 Change-Id: Ibcb23dd27f550cf32ce2fe0239f0f496ae014ff6 Signed-off-by: Ittay Stern --- vid-webpack-master/src/app/app.component.ts | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'vid-webpack-master/src/app/app.component.ts') diff --git a/vid-webpack-master/src/app/app.component.ts b/vid-webpack-master/src/app/app.component.ts index 528c7d7a4..dc4bc88c9 100644 --- a/vid-webpack-master/src/app/app.component.ts +++ b/vid-webpack-master/src/app/app.component.ts @@ -1,28 +1,17 @@ -import {Component, Inject} from '@angular/core'; - -import { ApiService } from './shared'; - -import '../style/app.scss'; +import {Component} from '@angular/core'; import {NgRedux} from "@angular-redux/store"; -import {AppState} from "./store/reducers"; -import { LogService } from './shared/utils/log/log.service'; +import {AppState} from "./shared/store/reducers"; +import '../style/app.scss'; @Component({ - selector: 'vid-app', // + selector: 'vid-app', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], }) export class AppComponent { - url = 'https://github.com/preboot/angular2-webpack'; - title: string; - - - constructor(private api: ApiService, private store: NgRedux, private _logService : LogService) { - this.title = this.api.title; + constructor(private store: NgRedux) { store.subscribe(()=>{ sessionStorage.setItem('reduxState', JSON.stringify(store.getState())); }); - - this._logService.info("testing new log service"); } } -- cgit 1.2.3-korg