fix(calendar(js)): don't handle attendees for tasks

This commit is contained in:
Francis Lachapelle
2020-07-17 13:58:32 -04:00
parent ed300409b7
commit ff3e83fd43
2 changed files with 15 additions and 9 deletions
@@ -38,7 +38,7 @@
} : null;
},
function(newAttrs, oldAttrs) {
if (newAttrs && newAttrs.attendees) {
if (newAttrs && newAttrs.attendees && newAttrs.attendees.length) {
// Attendees have changed
$q.all(_.values($ctrl.component.$attendees.$futureFreebusyData)).then(function() {
$ctrl.onUpdate();