@social-mail/social-mail-client 1.2.553 → 1.2.554

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23870,9 +23870,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23870
23870
  }
23871
23871
  const thread = value;
23872
23872
  const mail = thread.email;
23873
- const html = mail.htmlBody;
23873
+ let html = mail.htmlBody;
23874
23874
  const msg = document.createElement("div");
23875
23875
  if (!html) {
23876
+ html !== null && html !== void 0 ? html : html = mail.textBody;
23876
23877
  for (const iterator of html.split("\n")) {
23877
23878
  const p = document.createElement("p");
23878
23879
  p.appendChild(document.createTextNode(iterator));