issue-106 #107

Merged
sebastian merged 18 commits from issue-106 into master 2024-03-17 09:17:11 +01:00
Showing only changes of commit 125ab10a00 - Show all commits

View File

@ -31,11 +31,14 @@ public class RecursiveTaskgroupInfo {
} }
for(Task task : taskgroup.getActiveTasks()) { for(Task task : taskgroup.getActiveTasks()) {
if(task.getParent() == null) {
this.activeTasks.add(new TaskOverviewInfo(task)); this.activeTasks.add(new TaskOverviewInfo(task));
if(task.getDeadline() != null && task.getDeadline().isBefore(LocalDate.now())) { if(task.getDeadline() != null && task.getDeadline().isBefore(LocalDate.now())) {
this.hasOverdueTask = true; this.hasOverdueTask = true;
} }
} }
}
this.amountActiveTasks = taskgroup.getAmountOfActiveTasks(); this.amountActiveTasks = taskgroup.getAmountOfActiveTasks();
} }