SyntaxFix
Write A Post
Hire A Developer
Questions
You only need the async pipe:
async
<li *ngFor="let afd of afdeling | async"> {{afd.patientid}} </li>
always use the async pipe when dealing with Observables directly without explicitly unsubscribe.