Untitled
Anonymous
typescript
06/17/2023 1:53 PM
296 B
18
Indexable
getGoalById(id:string):Observable<any> {
return this.goalsCollection()
.pipe(
map(response => {
response = response.filter((v:any) => v.id === id);
return response;
})
)
}Editor is loading...