Fix emails and cal event descriptions (#2634)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
3256d601db
commit
d856ef53a7
6 files changed
+17
-10
No files matched your search
@@ -46,6 +46,9 @@ ${organizer + attendees}
|
||||
};
|
||||
|
||||
export const getAdditionalNotes = (calEvent: CalendarEvent) => {
|
||||
if (!calEvent.additionalNotes) {
|
||||
return "";
|
||||
}
|
||||
return `
|
||||
${calEvent.organizer.language.translate("additional_notes")}:
|
||||
${calEvent.additionalNotes}
|
||||
@@ -53,6 +56,9 @@ ${calEvent.additionalNotes}
|
||||
};
|
||||
|
||||
export const getDescription = (calEvent: CalendarEvent) => {
|
||||
if (!calEvent.description) {
|
||||
return "";
|
||||
}
|
||||
return `\n${calEvent.attendees[0].language.translate("description")}
|
||||
${calEvent.description}
|
||||
`;
|
||||
|
||||
Reference in new issue
Block a user