mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +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.
|
* @param {Object} workingPlan Contains the working hours and breaks for each day of the week.
|
||||||
*/
|
*/
|
||||||
WorkingPlan.prototype.setup = function (workingPlan) {
|
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);
|
const workingPlanSorted = App.Utils.Date.sortWeekDictionary(workingPlan, weekDayId);
|
||||||
|
|
||||||
$('.working-plan tbody').empty();
|
$('.working-plan tbody').empty();
|
||||||
|
|
Loading…
Reference in a new issue