fix(calendar(js)): ignore attendees when saving task

This commit is contained in:
Francis Lachapelle committed 2021-01-25 09:59:02 -05:00
1 parent 6a5f3e4e4f
commit e78eb44dd7
1 file changed
+7 -4
@@ -351,7 +351,8 @@
this.showAttendeesEditor |= initOrganizer;
}
$timeout(scrollToStart);
if (_.has(this.component, '$attendees'))
$timeout(scrollToStart);
return $q.all(promises);
};
@@ -630,9 +631,11 @@
};
function updateFreeBusy() {
vm.component.$attendees.updateFreeBusyCoverage();
vm.component.$attendees.updateFreeBusy();
$timeout(scrollToStart);
if (_.has(vm.component, '$attendees')) {
vm.component.$attendees.updateFreeBusyCoverage();
vm.component.$attendees.updateFreeBusy();
$timeout(scrollToStart);
}
}
}