From dd6196555f3273d133d58bd83999e32fe621824a Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sun, 8 Jul 2018 18:29:40 +0200 Subject: [PATCH] fix lint --- .../user-interface/search-field/search-field.component.ts | 6 +++--- static/src/app/ranks/rank-list/rank-list.component.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/src/app/common/user-interface/search-field/search-field.component.ts b/static/src/app/common/user-interface/search-field/search-field.component.ts index 2285d8e..28477d1 100644 --- a/static/src/app/common/user-interface/search-field/search-field.component.ts +++ b/static/src/app/common/user-interface/search-field/search-field.component.ts @@ -1,4 +1,4 @@ -import {Component, EventEmitter, Input, Output} from '@angular/core'; +import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core'; import {Location} from '@angular/common'; import {ActivatedRoute} from '@angular/router'; @@ -7,7 +7,7 @@ import {ActivatedRoute} from '@angular/router'; templateUrl: './search-field.component.html', styleUrls: ['./search-field.component.css'] }) -export class SearchFieldComponent { +export class SearchFieldComponent implements OnInit { @Input() searchTerm; @@ -15,7 +15,7 @@ export class SearchFieldComponent { @Output() searchTermStream = new EventEmitter(); - constructor(private route:ActivatedRoute, + constructor(private route: ActivatedRoute, private location: Location) { } diff --git a/static/src/app/ranks/rank-list/rank-list.component.ts b/static/src/app/ranks/rank-list/rank-list.component.ts index ffb47eb..cdd94e0 100644 --- a/static/src/app/ranks/rank-list/rank-list.component.ts +++ b/static/src/app/ranks/rank-list/rank-list.component.ts @@ -28,7 +28,7 @@ export class RankListComponent implements OnInit { constructor(private rankService: RankService, private router: Router, - private route: ActivatedRoute){ + private route: ActivatedRoute) { } ngOnInit() {