mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 09:55:25 +00:00
(fix) Variable test in Component service
This commit is contained in:
@@ -730,7 +730,8 @@
|
||||
}
|
||||
|
||||
if (this.$hasAlarm) {
|
||||
if (this.alarm.action == 'email' && !(this.attendees && this.attendees.length > 0)) {
|
||||
if (this.alarm.action && this.alarm.action == 'email' &&
|
||||
!(this.attendees && this.attendees.length > 0)) {
|
||||
// No attendees; email reminder must be sent to organizer only
|
||||
this.alarm.attendees = 0;
|
||||
this.alarm.organizer = 1;
|
||||
|
||||
Reference in New Issue
Block a user