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
parent
2d6d1cb444
commit
2ce1e78053
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue