This commit is contained in:
Hillel Coren 2018-12-23 19:46:36 +02:00
parent 120029e69c
commit 7dde47a8ca
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ List<int> filteredProjectsSelector(
Duration taskDurationForProject(ProjectEntity project, BuiltMap<int, TaskEntity> taskMap,) {
int total = 0;
taskMap.forEach((index, task) {
if (task.projectId == project.id) {
if (task.isActive && task.projectId == project.id) {
total += task.calculateDuration.inSeconds;
}
});