fix: added fix for email title for issue# 15848 (#15855)
This commit is contained in:
@@ -61,7 +61,9 @@ export default class AttendeeScheduledEmail extends BaseEmail {
|
||||
protected getTextBody(title = "", subtitle = "emailed_you_and_any_other_attendees"): string {
|
||||
return `
|
||||
${this.t(
|
||||
title || this.calEvent.recurringEvent?.count
|
||||
title
|
||||
? title
|
||||
: this.calEvent.recurringEvent?.count
|
||||
? "your_event_has_been_scheduled_recurring"
|
||||
: "your_event_has_been_scheduled"
|
||||
)}
|
||||
|
||||
@@ -66,7 +66,11 @@ export default class OrganizerScheduledEmail extends BaseEmail {
|
||||
): string {
|
||||
return `
|
||||
${this.t(
|
||||
title || this.calEvent.recurringEvent?.count ? "new_event_scheduled_recurring" : "new_event_scheduled"
|
||||
title
|
||||
? title
|
||||
: this.calEvent.recurringEvent?.count
|
||||
? "new_event_scheduled_recurring"
|
||||
: "new_event_scheduled"
|
||||
)}
|
||||
${this.t(subtitle)}
|
||||
${extraInfo}
|
||||
|
||||
Reference in New Issue
Block a user