Worker calendar holiday name
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-09-07 07:59:27 +02:00
parent 31b967e368
commit ba9cfedec7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class Controller extends Section {
if (data.holidays) {
data.holidays.forEach(holiday => {
const holidayDetail = holiday.detail && holiday.detail.description;
const holidayDetail = holiday.detail && holiday.detail.name;
const holidayType = holiday.type && holiday.type.name;
const holidayName = holidayDetail || holidayType;