]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: correctly track task id in list for change detection (#8230)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Fri, 8 Nov 2024 08:19:05 +0000 (00:19 -0800)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 08:19:05 +0000 (00:19 -0800)
src-ui/src/app/components/admin/tasks/tasks.component.html

index 4178bb2c85928d3eae7c913e642246ed9fd913f4..3d40c789730a166dfc51161abb020c598415da0a 100644 (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">