Untitled
unknown
typescript
2 years ago
221 B
5
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...