forked from mirrors/easyappointments
Use the appointment color value when rendering the appointments on the calendar.
This commit is contained in:
parent
0f0b3c114e
commit
3594bb8294
2 changed files with 2 additions and 0 deletions
|
@ -1077,6 +1077,7 @@ App.Utils.CalendarDefaultView = (function () {
|
|||
start: moment(appointment.start_datetime).toDate(),
|
||||
end: moment(appointment.end_datetime).toDate(),
|
||||
allDay: false,
|
||||
color: appointment.color,
|
||||
data: appointment // Store appointment data for later use.
|
||||
};
|
||||
|
||||
|
|
|
@ -939,6 +939,7 @@ App.Utils.CalendarTableView = (function () {
|
|||
start: moment(appointment.start_datetime).toDate(),
|
||||
end: moment(appointment.end_datetime).toDate(),
|
||||
allDay: false,
|
||||
color: appointment.color,
|
||||
data: appointment // Store appointment data for later use.
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue