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

This commit is contained in:
Francis Lachapelle committed 2020-07-17 13:58:32 -04:00
1 parent ed300409b7
commit ff3e83fd43
2 files changed
+15 -9

No files matched your search

@@ -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();