Skip to content

Commit

Permalink
fix(calendar(js)): show freebusy timeline with external-only attendees
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Jul 14, 2020
1 parent 6e2d652 commit a5ba99c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions UI/WebServerResources/js/Scheduler/Attendees.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
this.$futureFreebusyData = {};
this.updateFreeBusyCoverage();
this.updateFreeBusy();
if (this.$days.length == 0) {
this.getDays();
}
}

/**
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a5ba99c

Please sign in to comment.