|
|
@ -128,7 +128,7 @@ function getProgressLine() { |
|
|
|
realDurations = cumulativeRealDurations; |
|
|
|
realDurations = cumulativeRealDurations; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (maxReal > 100 || maxPlan > 100) { |
|
|
|
if (Math.floor(maxReal) > 100 || Math.floor(maxPlan) > 100) { |
|
|
|
plannedDurations = plannedDurations.map((item) => { |
|
|
|
plannedDurations = plannedDurations.map((item) => { |
|
|
|
return item/maxPlan*100; |
|
|
|
return item/maxPlan*100; |
|
|
|
}) |
|
|
|
}) |
|
|
|