fix lint
parent
84ddfe5a0b
commit
dd6196555f
|
@ -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 {Location} from '@angular/common';
|
||||||
import {ActivatedRoute} from '@angular/router';
|
import {ActivatedRoute} from '@angular/router';
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import {ActivatedRoute} from '@angular/router';
|
||||||
templateUrl: './search-field.component.html',
|
templateUrl: './search-field.component.html',
|
||||||
styleUrls: ['./search-field.component.css']
|
styleUrls: ['./search-field.component.css']
|
||||||
})
|
})
|
||||||
export class SearchFieldComponent {
|
export class SearchFieldComponent implements OnInit {
|
||||||
|
|
||||||
@Input() searchTerm;
|
@Input() searchTerm;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ export class SearchFieldComponent {
|
||||||
|
|
||||||
@Output() searchTermStream = new EventEmitter();
|
@Output() searchTermStream = new EventEmitter();
|
||||||
|
|
||||||
constructor(private route:ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private location: Location) {
|
private location: Location) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ export class RankListComponent implements OnInit {
|
||||||
|
|
||||||
constructor(private rankService: RankService,
|
constructor(private rankService: RankService,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private route: ActivatedRoute){
|
private route: ActivatedRoute) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
Loading…
Reference in New Issue