Reviewed-on: ibnu/generic-ospro-gantt#4
@ -128,7 +128,7 @@ function getProgressLine() {
realDurations = cumulativeRealDurations;
}
if (maxReal > 100 || maxPlan > 100) {
if (Math.floor(maxReal) > 100 || Math.floor(maxPlan) > 100) {
plannedDurations = plannedDurations.map((item) => {
return item/maxPlan*100;
})