Skip to content

Commit

Permalink
(js) Improve Component service & controller
Browse files Browse the repository at this point in the history
Fixes #4527
  • Loading branch information
cgx committed Aug 22, 2018
1 parent 9f654d2 commit 3e5a486
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 227 deletions.
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Scheduler/Component.service.js
Expand Up @@ -1267,7 +1267,7 @@
delete component.completedDate;

// Verify alarm
if (component.startDate && this.$hasAlarm) {
if ((component.startDate || component.dueDate) && this.$hasAlarm) {
if (this.alarm.action && this.alarm.action == 'email' &&
!(this.attendees && this.attendees.length > 0)) {
// No attendees; email reminder must be sent to organizer only
Expand Down

0 comments on commit 3e5a486

Please sign in to comment.