added loger on filter service

This commit is contained in:
Eraldo Hasanaj
2019-01-30 19:32:36 +01:00
parent b539f8b679
commit ba8c7d974f

View File

@@ -32,10 +32,11 @@ export class FilterService {
// service method to get the first 3 filters
getFilters(): Observable<Filter[]> {
// TODO: implement call to backend API to get filter metadata
this.service.settings().subscribe(
(data: ApiResponse<UISettingsDTO>) =>
console.log(data.result.filter, data.result.orderBy, data)
);
// this.service.settings().subscribe(
// (data: ApiResponse<UISettingsDTO>) =>
// console.log(data.result.filter, data.result.orderBy, data)
// );
console.log(filterMock);
return of(filterMock.slice(0, 3));
}