@social-mail/social-mail-client 1.2.692 → 1.2.694

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.
@@ -41510,7 +41510,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
41510
41510
  this.render(XNode.create("div", {
41511
41511
  items: Bind.oneWayAsync((s, e, cancelToken) => this.searchMailboxes(this.search, this.value, cancelToken))
41512
41512
  }));
41513
- const item = yield this.entityService.query(Mailbox).orderByDescending(x => x.dateUpdated).include(x => x.emailAddress).firstOrDefault();
41513
+ const item = yield this.entityService.query(Mailbox).where(x => x.isChannel === false).orderByDescending(x => x.dateUpdated).include(x => x.emailAddress).firstOrDefault();
41514
41514
  this.items = [item];
41515
41515
  this.selectedItem = item;
41516
41516
  });
@@ -41518,7 +41518,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
41518
41518
  searchMailboxes(search, value, cancelToken) {
41519
41519
  var _a;
41520
41520
  return __awaiter(this, void 0, void 0, function* () {
41521
- let q = this.entityService.query(Mailbox);
41521
+ let q = this.entityService.query(Mailbox).where(x => x.isChannel === false);
41522
41522
  search = (_a = search === null || search === void 0 ? void 0 : search.trim()) === null || _a === void 0 ? void 0 : _a.toLowerCase();
41523
41523
  value || (value = "0");
41524
41524
  if (search) {