diff --git a/frontend/src/app/tasks/task-dashboard/task-dashboard.component.html b/frontend/src/app/tasks/task-dashboard/task-dashboard.component.html index 4eb2960..9d04aaa 100644 --- a/frontend/src/app/tasks/task-dashboard/task-dashboard.component.html +++ b/frontend/src/app/tasks/task-dashboard/task-dashboard.component.html @@ -19,7 +19,8 @@ + [checked]="selection.isSelected(row)" + [disabled]="row.hasTaskSerie"> diff --git a/frontend/src/app/tasks/task-dashboard/task-dashboard.component.ts b/frontend/src/app/tasks/task-dashboard/task-dashboard.component.ts index e842c3c..49b5e14 100644 --- a/frontend/src/app/tasks/task-dashboard/task-dashboard.component.ts +++ b/frontend/src/app/tasks/task-dashboard/task-dashboard.component.ts @@ -48,7 +48,7 @@ export class TaskDashboardComponent implements OnChanges{ return; } - this.selection.select(...this.datasource.data); + this.selection.select(...this.datasource.data.filter(task => !task.hasTaskSerie)); }