fix email body null

This commit is contained in:
Yuri Kuznetsov
2024-08-28 10:27:14 +03:00
parent b290fbfeb2
commit 490843e371
+4
View File
@@ -260,6 +260,10 @@ class EmailBodyFieldView extends WysiwygFieldView {
const data = super.fetch();
if (this.model.attributes.isHtml && this.replyPart) {
if (data[this.name] == null) {
data[this.name] = '';
}
data[this.name] += this.replyPart;
}