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

This commit is contained in:
smizrahi
2024-01-03 09:10:48 +01:00
parent 5ad1d9d9c3
commit 00d69560ba
4 changed files with 25 additions and 15 deletions
@@ -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;