pull/40/head
HardiReady 2018-07-08 18:29:40 +02:00
parent 84ddfe5a0b
commit dd6196555f
2 changed files with 4 additions and 4 deletions

View File

@ -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) {
}

View File

@ -28,7 +28,7 @@ export class RankListComponent implements OnInit {
constructor(private rankService: RankService,
private router: Router,
private route: ActivatedRoute){
private route: ActivatedRoute) {
}
ngOnInit() {