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