Added colors to appointments BOD-393
This commit is contained in:
@@ -38,6 +38,14 @@ export function ScheduleCalendarWrapperComponent({
|
||||
// )[0];
|
||||
|
||||
return {
|
||||
...(event.color
|
||||
? {
|
||||
style: {
|
||||
backgroundColor:
|
||||
event.color && event.color.hex ? event.color.hex : event.color,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
className: `${event.arrived ? "imex-event-arrived" : ""} ${
|
||||
event.block ? "imex-event-block" : ""
|
||||
}`,
|
||||
|
||||
Reference in New Issue
Block a user