Skip to content

Scheduling infrastructure for absolutely everyone.

hide additional notes in organizer scheduled email if empty (#1870)

Frank Greco Jr717d9a512d50
diff --git a/apps/web/lib/emails/templates/organizer-scheduled-email.ts b/apps/web/lib/emails/templates/organizer-scheduled-email.ts
index 259bc89fa19..0307318c6f6 100644
--- a/apps/web/lib/emails/templates/organizer-scheduled-email.ts
+++ b/apps/web/lib/emails/templates/organizer-scheduled-email.ts
@@ -286,6 +286,7 @@ ${getRichDescription(this.calEvent)}
}
protected getAdditionalNotes(): string {
+ if (!this.calEvent.description) return "";
return `
<p style="height: 6px"></p>
<div style="line-height: 6px;">