issue-106 #107
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user