fixed daily totals only for productive parents
This commit is contained in:
@ -229,7 +229,9 @@ class Table {
|
||||
durations[i] = hours
|
||||
total += hours
|
||||
parentDurations[i] += hours
|
||||
this.dailyTotals[i] += hours
|
||||
if (parent.is_productive) {
|
||||
this.dailyTotals[i] += hours
|
||||
}
|
||||
})
|
||||
return {
|
||||
id: project.id,
|
||||
|
Reference in New Issue
Block a user