Hotfix: Success page for recurring event (#2725)

* Merge pull request #2672 from calcom/main

v1.5.4

* Turbo fixes

* Make apps single pages public

* Fix preview.html not built and thus served during depooy (#2713)

* Hotfix: Success page layout broken due to duplicate "When" (#2716)

* Update BookingPage.tsx

* Reverting unchaged lines

* Fixing recurrenceRule for ICS files

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
fix/login
Leo Giovanetti 2022-05-11 10:12:59 -03:00 committed by Omar López
parent 2d6d1cb444
commit 2ce1e78053
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export default class AttendeeScheduledEmail {
// Taking care of recurrence rule beforehand // Taking care of recurrence rule beforehand
let recurrenceRule: string | undefined = undefined; let recurrenceRule: string | undefined = undefined;
if (this.recurringEvent?.count) { if (this.recurringEvent?.count) {
recurrenceRule = new rrule(this.recurringEvent).toString(); recurrenceRule = new rrule(this.recurringEvent).toString().replace("RRULE:", "");
} }
const icsEvent = createEvent({ const icsEvent = createEvent({
start: dayjs(this.calEvent.startTime) start: dayjs(this.calEvent.startTime)

View File

@ -57,7 +57,7 @@ export default class OrganizerScheduledEmail {
// Taking care of recurrence rule beforehand // Taking care of recurrence rule beforehand
let recurrenceRule: string | undefined = undefined; let recurrenceRule: string | undefined = undefined;
if (this.recurringEvent?.count) { if (this.recurringEvent?.count) {
recurrenceRule = new rrule(this.recurringEvent).toString(); recurrenceRule = new rrule(this.recurringEvent).toString().replace("RRULE:", "");
} }
const icsEvent = createEvent({ const icsEvent = createEvent({
start: dayjs(this.calEvent.startTime) start: dayjs(this.calEvent.startTime)