mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Update occurrences of the getWeekdayId method.
This commit is contained in:
parent
64eecc5895
commit
3827641d72
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue