@social-mail/social-mail-client 1.2.8 → 1.2.9

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.
@@ -32059,7 +32059,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
32059
32059
  return __awaiter(this, void 0, void 0, function* () {
32060
32060
  yield sleep(100);
32061
32061
  this.draft = yield this.conversationService.getDraft(this.mailboxContact);
32062
- (_a = (_b = this.draft).attachments) !== null && _a !== void 0 ? _a : _b.attachments = [];
32062
+ if (this.draft) {
32063
+ (_a = (_b = this.draft).attachments) !== null && _a !== void 0 ? _a : _b.attachments = [];
32064
+ }
32063
32065
  this.render(XNode.create("div", null, XNode.create("i", {
32064
32066
  "data-click-event": "add-media",
32065
32067
  "data-element": "add",