mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
fix(calendar(js)): avoid exception when adding invalid email as attendee
This commit is contained in:
@@ -340,7 +340,7 @@
|
||||
if (address && emailRE.test(address))
|
||||
createCard(address).then(addCard);
|
||||
}
|
||||
else {
|
||||
else if (angular.isDefined(card)) {
|
||||
if (!this.component.$attendees.hasAttendee(card))
|
||||
this.component.$attendees.add(card, options);
|
||||
this.showAttendeesEditor |= initOrganizer;
|
||||
|
||||
Reference in New Issue
Block a user