fix no result and refactoring tests

This commit is contained in:
Eugenio Romano
2016-09-02 01:00:09 +01:00
parent ef37150902
commit 0c253ffdf0
11 changed files with 376 additions and 351 deletions

View File

@@ -32,6 +32,7 @@ export class SearchBarComponent {
fileNodeId: string;
fileShowed: boolean = false;
searchTerm: string = '';
@Output()
expand = new EventEmitter();
@@ -50,6 +51,11 @@ export class SearchBarComponent {
}
}
searchTermChange(event) {
console.log('Search term changed', event);
this.searchTerm = event.value;
}
onExpandToggle(event) {
this.expand.emit(event);
}