mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-20 04:19:35 +00:00
(js) Fix possible exception in sgFreebusy
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
} : null;
|
||||
},
|
||||
function(newAttrs, oldAttrs) {
|
||||
if (newAttrs.attendees) {
|
||||
if (newAttrs && newAttrs.attendees) {
|
||||
// Attendees have changed
|
||||
$q.all(_.values($ctrl.component.$attendees.$futureFreebusyData)).then(function() {
|
||||
$ctrl.onUpdate();
|
||||
|
||||
Reference in New Issue
Block a user