Update occurrences of the getWeekdayId method.

This commit is contained in:
Alex Tselegidis 2022-01-12 11:19:48 +01:00
parent 64eecc5895
commit 3827641d72
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ App.Utils.WorkingPlan = (function () {
* @param {Object} workingPlan Contains the working hours and breaks for each day of the week.
*/
WorkingPlan.prototype.setup = function (workingPlan) {
const weekDayId = App.Utils.Date.getWeekDayId(App.Vars.first_weekday);
const weekDayId = App.Utils.Date.getWeekdayId(App.Vars.first_weekday);
const workingPlanSorted = App.Utils.Date.sortWeekDictionary(workingPlan, weekDayId);
$('.working-plan tbody').empty();