Fix Google Calendar sharing guest information logic (#7323)
* Fix logic * Update packages/app-store/googlecalendar/lib/CalendarService.ts Co-authored-by: alannnc <[email protected]> * Fixed linting * Add seats logic to reschedule --------- Co-authored-by: alannnc <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 file changed
+2
-2
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user