mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
added loger on filter service
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user