I need help with displaying only 1 record from the DL list that has the lowest score, instead of showing all records.
In the example on stackblitz, you can see that for the first record, the DL scores are: 54, 20, and updated.
Instead of displaying all 3 records, I want to show only the record with the least score, which is 20.
Please provide suggestions.
Markup
<ul>
<li *ngFor="let assignee of user.assigned_to">
{{assignee.dl}} {{assignee.co_score}}
</li>
</ul>
Live https://stackblitz.com/edit/angular-ivy-1tsz1r?file=src%2Fapp%2Fapp.component.html