fix: add uid in evt (#9066)
* fix: add uid in evt Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * fix: type error Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * chore: fix type error Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> * fix: remove false from description Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> --------- Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>pull/9050/head^2
parent
044570123f
commit
79a4778c02
|
@ -1486,6 +1486,9 @@ async function handler(
|
|||
* so if you modify it in a inner function it will be modified in the outer function
|
||||
* deep cloning evt to avoid this
|
||||
*/
|
||||
if (!evt?.uid) {
|
||||
evt.uid = booking?.uid ?? null;
|
||||
}
|
||||
const copyEvent = cloneDeep(evt);
|
||||
copyEvent.uid = booking.uid;
|
||||
await sendScheduledSeatsEmails(copyEvent, invitee[0], newSeat, !!eventType.seatsShowAttendees);
|
||||
|
|
|
@ -194,7 +194,7 @@ ${getAppsStatus(calEvent, t)}
|
|||
${
|
||||
// TODO: Only the original attendee can make changes to the event
|
||||
// Guests cannot
|
||||
!calEvent.seatsPerTimeSlot && getManageLink(calEvent, t)
|
||||
calEvent.seatsPerTimeSlot ? "" : getManageLink(calEvent, t)
|
||||
}
|
||||
${
|
||||
calEvent.paymentInfo
|
||||
|
|
Loading…
Reference in New Issue