Fix Google Calendar sharing guest information logic (#7323)
* Fix logic * Update packages/app-store/googlecalendar/lib/CalendarService.ts Co-authored-by: alannnc <alannnc@gmail.com> * Fixed linting * Add seats logic to reschedule --------- Co-authored-by: alannnc <alannnc@gmail.com> Co-authored-by: Keith Williams <keithwillcode@gmail.com>pull/7763/head^2
parent
358aa8be2b
commit
4308ea8d52
|
@ -103,7 +103,7 @@ export default class GoogleCalendarService implements Calendar {
|
|||
reminders: {
|
||||
useDefault: true,
|
||||
},
|
||||
guestsCanSeeOtherGuests: calEventRaw.seatsShowAttendees,
|
||||
guestsCanSeeOtherGuests: !!calEventRaw.seatsPerTimeSlot ? calEventRaw.seatsShowAttendees : true,
|
||||
};
|
||||
|
||||
if (calEventRaw.location) {
|
||||
|
@ -193,7 +193,7 @@ export default class GoogleCalendarService implements Calendar {
|
|||
reminders: {
|
||||
useDefault: true,
|
||||
},
|
||||
guestsCanSeeOtherGuests: event.seatsShowAttendees,
|
||||
guestsCanSeeOtherGuests: !!event.seatsPerTimeSlot ? event.seatsShowAttendees : true,
|
||||
};
|
||||
|
||||
if (event.location) {
|
||||
|
|
Loading…
Reference in New Issue