CalendarTableView: Added missing declaration on unavailabilityPeriod
This commit is contained in:
parent
74df69b33a
commit
e2fe600b94
1 changed files with 1 additions and 1 deletions
|
@ -887,7 +887,7 @@ App.Utils.CalendarTableView = (function () {
|
||||||
const workDateStart = moment(start.format('YYYY-MM-DD') + ' ' + workingPlan[selDayName].start);
|
const workDateStart = moment(start.format('YYYY-MM-DD') + ' ' + workingPlan[selDayName].start);
|
||||||
|
|
||||||
if (start < workDateStart) {
|
if (start < workDateStart) {
|
||||||
unavailabilityPeriod = {
|
const unavailabilityPeriod = {
|
||||||
title: lang('not_working'),
|
title: lang('not_working'),
|
||||||
start: start.toDate(),
|
start: start.toDate(),
|
||||||
end: workDateStart.toDate(),
|
end: workDateStart.toDate(),
|
||||||
|
|
Loading…
Reference in a new issue