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,10 +31,13 @@ public class RecursiveTaskgroupInfo {
} }
for(Task task : taskgroup.getActiveTasks()) { for(Task task : taskgroup.getActiveTasks()) {
this.activeTasks.add(new TaskOverviewInfo(task)); if(task.getParent() == null) {
if(task.getDeadline() != null && task.getDeadline().isBefore(LocalDate.now())) { this.activeTasks.add(new TaskOverviewInfo(task));
this.hasOverdueTask = true; if(task.getDeadline() != null && task.getDeadline().isBefore(LocalDate.now())) {
this.hasOverdueTask = true;
}
} }
} }
this.amountActiveTasks = taskgroup.getAmountOfActiveTasks(); this.amountActiveTasks = taskgroup.getAmountOfActiveTasks();
} }