[search] Code cleanup
authorErik Haider Forsén <erik@forsen.not>
Sat, 14 Nov 2015 14:33:39 +0000 (15:33 +0100)
committerErik Haider Forsén <erik@forsen.not>
Sat, 14 Nov 2015 14:33:39 +0000 (15:33 +0100)
src/components/search/SearchService.ts
src/components/search/livesearch.ts

index 00764f3..c17203d 100644 (file)
@@ -13,7 +13,6 @@ export class SearchService {
             .map(res=>res.json())
             .map(res => res.organisationUnits)
             .filter(orgunits => orgunits);
-
     }
 }
 
index 96e7e7a..0158b24 100644 (file)
@@ -32,9 +32,6 @@ export class LiveSearch {
             .do(zone.bind(() => this.loading.next(false)))
             .subscribe(
                 zone.bind( orgunits => {
-                    console.log("orgunits: ");
-                    console.log(orgunits);
-                    //this.results.next(orgunits);
                     this.results.next(orgunits);
                 }),
                 zone.bind(err => {