fix(calendar(js)): show freebusy timeline with external-only attendees

pull/285/head
Francis Lachapelle 2020-07-14 15:29:45 -04:00
parent 6e2d652e38
commit a5ba99cf60
1 changed files with 10 additions and 5 deletions

View File

@ -26,6 +26,9 @@
this.$futureFreebusyData = {};
this.updateFreeBusyCoverage();
this.updateFreeBusy();
if (this.$days.length == 0) {
this.getDays();
}
}
/**
@ -111,11 +114,13 @@
});
}
else {
this.component.organizer = {
uid: Attendees.$settings.activeUser('login'),
name: Attendees.$settings.activeUser('identification'),
email: Attendees.$settings.activeUser('email')
};
if (!this.component.organizer) {
this.component.organizer = {
uid: Attendees.$settings.activeUser('login'),
name: Attendees.$settings.activeUser('identification'),
email: Attendees.$settings.activeUser('email')
};
}
promise = Attendees.$q.when();
}
// Fetch organizer's freebusy