Skip to content

EspoCRM – Open Source CRM Application

Docs

Yurii3cca78890a6f
diff --git a/client/src/views/email/record/compose.js b/client/src/views/email/record/compose.js
index dc4cdf23fb..ac7011480f 100644
--- a/client/src/views/email/record/compose.js
+++ b/client/src/views/email/record/compose.js
@@ -127,6 +127,15 @@ class EmailComposeRecordView extends EditRecordView {
});
}
+ /**
+ * @param {{
+ * body: string | null,
+ * isHtml: boolean,
+ * subject?: string | null,
+ * attachmentsIds?: string[],
+ * attachmentsNames?: Record<string, string>,
+ * }} data
+ */
insertTemplate(data) {
let body = data.body;