mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
@@ -59,7 +59,6 @@ export class AlfrescoSearchService {
|
|||||||
public getLiveSearchResults(term: string): Observable<any> {
|
public getLiveSearchResults(term: string): Observable<any> {
|
||||||
return Observable.fromPromise(this.getSearchNodesPromise(term))
|
return Observable.fromPromise(this.getSearchNodesPromise(term))
|
||||||
.map(res => <any> res)
|
.map(res => <any> res)
|
||||||
.do(data => console.log('Search data', data)) // eyeball results in the console
|
|
||||||
.catch(this.handleError);
|
.catch(this.handleError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user