fix(calendar(js)): fix refresh of attendees freebusy information

* refresh template with freebusy information of organizer
* fix event coverage in freebusy timeline when event spans a day

Related to bug #4899
This commit is contained in:
Francis Lachapelle
2019-12-03 10:34:47 -05:00
parent 3bb40e4024
commit fbdabc9615
3 changed files with 10 additions and 4 deletions

View File

@@ -358,8 +358,10 @@
this.removeAttendee = function (attendee, form) {
this.component.$attendees.remove(attendee);
if (this.component.$attendees.getLength() === 0)
if (this.component.$attendees.getLength() === 0) {
this.showAttendeesEditor = false;
this.component.$attendees.remove(this.component.organizer);
}
form.$setDirty();
};