fix(mail): Fix inline text issue when Hide inline attachment option is set

This commit is contained in:
smizrahi committed 2024-01-03 09:11:14 +01:00
1 parent 5ad1d9d9c3
commit 00d69560ba
4 files changed
+25 -15

No files matched your search

@@ -461,7 +461,9 @@
// Trusted content that can be compiled (Angularly-speaking)
part.compile = true;
parts.push(part);
if (!Object.hasOwn(part, 'shouldDisplayAttachment') || 1 == part.shouldDisplayAttachment ) {
parts.push(part);
}
}
else {
part.html = true;