Fix: correctly track task objects during refresh

This commit is contained in:
shamoon 2024-11-08 00:08:02 -08:00
parent 2806b1820e
commit da05cc79fb
No known key found for this signature in database

View File

@ -43,7 +43,7 @@
</tr>
</thead>
<tbody>
@for (task of tasks | slice: (page-1) * pageSize : page * pageSize; track task) {
@for (task of tasks | slice: (page-1) * pageSize : page * pageSize; track task.id) {
<tr (click)="toggleSelected(task, $event); $event.stopPropagation();">
<td>
<div class="form-check">