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

pull/293/head
Francis Lachapelle 2021-01-25 09:57:40 -05:00
parent 6a5f3e4e4f
commit e78eb44dd7
1 changed files with 7 additions and 4 deletions

View File

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