Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
commit
955de285f2
|
@ -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