Skip to content

Commit

Permalink
Merge pull request #609 from rezk2ll/customers#608
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienmoyon authored Oct 15, 2021
2 parents 67ee579 + 608c785 commit 6280409
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function calEventDuplicateService(

// Set the alarm if there was any
// alarm can't be set with CalendarShell.fromIncompleteShell because the event needs to be created or cloned first.
if (event.alarm) {
if (event.alarm && event.alarm.trigger && event.alarm.attendee) {
duplicate.alarm = event.alarm;
}

Expand Down

0 comments on commit 6280409

Please sign in to comment.