@social-mail/social-mail-client 1.2.553 → 1.2.555
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.
- package/dist/admin/AdminAppIndex.pack.js +5 -2
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +5 -2
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +2 -2
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
- package/dist/services/email/EmailContentDownloader.js +3 -1
- package/dist/services/email/EmailContentDownloader.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +5 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +2 -1
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/services/email/EmailContentDownloader.ts +3 -1
- package/src/web/page/mails/service/ConversationService.tsx +2 -1
|
@@ -28410,7 +28410,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
28410
28410
|
downloadFromUrl(url, email) {
|
|
28411
28411
|
return __awaiter(this, void 0, void 0, function* () {
|
|
28412
28412
|
if (!window.caches) {
|
|
28413
|
-
|
|
28413
|
+
const text = yield FetchBuilder.get(url).responseAsText();
|
|
28414
|
+
email.htmlBody = text;
|
|
28415
|
+
return text;
|
|
28414
28416
|
}
|
|
28415
28417
|
const cache = yield window.caches.open("email-content-cache");
|
|
28416
28418
|
const cacheKey = new URL(url, location.href);
|
|
@@ -28725,9 +28727,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28725
28727
|
}
|
|
28726
28728
|
const thread = value;
|
|
28727
28729
|
const mail = thread.email;
|
|
28728
|
-
|
|
28730
|
+
let html = mail.htmlBody;
|
|
28729
28731
|
const msg = document.createElement("div");
|
|
28730
28732
|
if (!html) {
|
|
28733
|
+
html !== null && html !== void 0 ? html : html = mail.textBody;
|
|
28731
28734
|
for (const iterator of html.split("\n")) {
|
|
28732
28735
|
const p = document.createElement("p");
|
|
28733
28736
|
p.appendChild(document.createTextNode(iterator));
|