@social-mail/social-mail-client 1.8.296 → 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 +9 -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/drawer/AppDrawer.d.ts.map +1 -1
- package/dist/web/drawer/AppDrawer.js +6 -0
- package/dist/web/drawer/AppDrawer.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/drawer/AppDrawer.tsx +6 -3
- package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +1 -1
|
@@ -35503,15 +35503,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
35503
35503
|
}
|
|
35504
35504
|
sendEmail() {
|
|
35505
35505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35506
|
-
var _a, _b
|
|
35506
|
+
var _a, _b;
|
|
35507
35507
|
const {
|
|
35508
35508
|
html,
|
|
35509
35509
|
text
|
|
35510
35510
|
} = this.editor.htmlTextContent;
|
|
35511
35511
|
this.draft.htmlBody = html;
|
|
35512
35512
|
this.draft.textBody = text;
|
|
35513
|
-
if (!(
|
|
35514
|
-
if (!((
|
|
35513
|
+
if (!(text === null || text === void 0 ? void 0 : text.trim())) {
|
|
35514
|
+
if (!((_b = (_a = this.draft) === null || _a === void 0 ? void 0 : _a.attachments) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
35515
35515
|
throw new Error("Cannot send empty email");
|
|
35516
35516
|
}
|
|
35517
35517
|
}
|