Worker calendar holiday name
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
31b967e368
commit
ba9cfedec7
|
@ -91,7 +91,7 @@ class Controller extends Section {
|
||||||
|
|
||||||
if (data.holidays) {
|
if (data.holidays) {
|
||||||
data.holidays.forEach(holiday => {
|
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 holidayType = holiday.type && holiday.type.name;
|
||||||
const holidayName = holidayDetail || holidayType;
|
const holidayName = holidayDetail || holidayType;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue