GET IN ANY ID´S AND GET REPONSE
Wed Jun 07 2023 18:04:13 GMT+0000 (Coordinated Universal Time)
Saved by
@chicovirabrikin
findSuppliersById() {
const observables = this.invitedSuppliersIds.map((id: string) => this.userService.getById(id));
console.log(observables);
forkJoin(observables).subscribe({
next: (responses) => {
console.log(responses);
this.invitedSuppliersInfo = responses;
},
error: (err) => {
console.error(err);
}
});
}
content_copyCOPY
Comments