|
|
@ -260,13 +260,15 @@ const DaysList = ({ |
|
|
|
const specialDate = (sDay, sMonth, sYear) => { |
|
|
|
const specialDate = (sDay, sMonth, sYear) => { |
|
|
|
return events.map((e) => { |
|
|
|
return events.map((e) => { |
|
|
|
if (sDay == e.day && sMonth == e.month && sYear == e.year) { |
|
|
|
if (sDay == e.day && sMonth == e.month && sYear == e.year) { |
|
|
|
return '.'; |
|
|
|
return <span key={'dot' + e.id} style={{ |
|
|
|
|
|
|
|
color: e.dotColor |
|
|
|
|
|
|
|
}}>.</span>; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const showEventDescription = (sDay, sMonth, sYear) => { |
|
|
|
const showEventDescription = (sDay, sMonth, sYear) => { |
|
|
|
|
|
|
|
|
|
|
|
return events.map((e) => { |
|
|
|
return events.map((e) => { |
|
|
|