7253-devToTest_2418 #315

Merged
alexm merged 315 commits from 7253-devToTest_2418 into test 2024-04-23 08:12:46 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit b05c28f571 - Show all commits

View File

@ -56,8 +56,8 @@ const onFetchAbsences = (data) => {
if (data.holidays) {
data.holidays.forEach((holiday) => {
const holidayDetail = holiday.detail && holiday.detail.name;
const holidayType = holiday.type && holiday.type.name;
const holidayDetail = holiday?.detail?.name;
const holidayType = holiday?.type?.name;
const holidayName = holidayDetail || holidayType;
addEvent(