CalendarTableView: Added missing declaration on unavailabilityPeriod

This commit is contained in:
Eero Jääskeläinen 2022-11-16 16:00:06 +02:00
parent 74df69b33a
commit e2fe600b94

View file

@ -887,7 +887,7 @@ App.Utils.CalendarTableView = (function () {
const workDateStart = moment(start.format('YYYY-MM-DD') + ' ' + workingPlan[selDayName].start);
if (start < workDateStart) {
unavailabilityPeriod = {
const unavailabilityPeriod = {
title: lang('not_working'),
start: start.toDate(),
end: workDateStart.toDate(),