@social-mail/social-mail-client 1.2.748 → 1.2.750
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 -1
- 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/common/pages/mailboxes/services/MailboxService.d.ts.map +1 -1
- package/dist/common/pages/mailboxes/services/MailboxService.js +5 -1
- package/dist/common/pages/mailboxes/services/MailboxService.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +5 -1
- 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 +5 -1
- 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/package.json +1 -1
- package/src/common/pages/mailboxes/services/MailboxService.ts +4 -1
|
@@ -27832,6 +27832,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
|
|
|
27832
27832
|
});
|
|
27833
27833
|
}
|
|
27834
27834
|
saveContact(mc, retry = 3) {
|
|
27835
|
+
var _a;
|
|
27835
27836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
27836
27837
|
const {
|
|
27837
27838
|
emailAddressText,
|
|
@@ -27844,7 +27845,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
|
|
|
27844
27845
|
}, p => x => x.mailboxID === p.mailboxID && x.emailAddress.emailAddress === p.emailAddress).include(x => x.emailAddress);
|
|
27845
27846
|
const result = yield q.firstOrDefault();
|
|
27846
27847
|
if (result) {
|
|
27847
|
-
|
|
27848
|
+
if (mc.folderTagID === mc.folderTagID) {
|
|
27849
|
+
return result;
|
|
27850
|
+
}
|
|
27851
|
+
mc.name = (_a = result.name) !== null && _a !== void 0 ? _a : result.emailAddress.name;
|
|
27848
27852
|
}
|
|
27849
27853
|
try {
|
|
27850
27854
|
yield this.entityService.save(mc);
|