Skip to content

Commit

Permalink
Fix TTLApp#598: Correct number of working days on flexible calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoarthur0 committed Jan 8, 2021
1 parent 94d1c65 commit 784f275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/classes/FlexibleMonthCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ class FlexibleMonthCalendar extends BaseCalendar
}
else
{
workingDays += 1;
this._setTableData(dateKey);
this._colorErrorLine(dateKey);
}
Expand All @@ -549,8 +550,6 @@ class FlexibleMonthCalendar extends BaseCalendar
{
monthTotal = sumTime(monthTotal, dayTotal);
}

workingDays += 1;
}
let monthDayInput = $('#month-day-input');
if (monthDayInput)
Expand Down

0 comments on commit 784f275

Please sign in to comment.