@social-mail/social-mail-client 1.8.297 → 1.8.298
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 +3 -3
- 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/site-editor-app/SiteEditorApp.pack.js +3 -3
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +3 -3
- 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/mini-compose/MiniComposeBox.js +3 -3
- package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +1 -1
|
@@ -31614,15 +31614,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
31614
31614
|
}
|
|
31615
31615
|
sendEmail() {
|
|
31616
31616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31617
|
-
var _a, _b
|
|
31617
|
+
var _a, _b;
|
|
31618
31618
|
const {
|
|
31619
31619
|
html,
|
|
31620
31620
|
text
|
|
31621
31621
|
} = this.editor.htmlTextContent;
|
|
31622
31622
|
this.draft.htmlBody = html;
|
|
31623
31623
|
this.draft.textBody = text;
|
|
31624
|
-
if (!(
|
|
31625
|
-
if (!((
|
|
31624
|
+
if (!(text === null || text === void 0 ? void 0 : text.trim())) {
|
|
31625
|
+
if (!((_b = (_a = this.draft) === null || _a === void 0 ? void 0 : _a.attachments) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
31626
31626
|
throw new Error("Cannot send empty email");
|
|
31627
31627
|
}
|
|
31628
31628
|
}
|