@social-mail/social-mail-client 1.2.747 → 1.2.748

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.
@@ -43464,9 +43464,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
43464
43464
  }
43465
43465
  addContact() {
43466
43466
  return __awaiter(this, void 0, void 0, function* () {
43467
- const now = DateTime.now;
43468
- this.model.dateCreated = now;
43469
- this.model.dateUpdated = now;
43467
+ this.model.folderTagID = this.parameters.folders.find(x => /contact/i.test(x.tag.name)).tagID;
43468
+ this.model.dateUpdated = DateTime.now;
43470
43469
  return yield this.mailboxService.saveContact(this.model);
43471
43470
  });
43472
43471
  }
@@ -44097,9 +44096,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
44097
44096
  }
44098
44097
  addNewContact() {
44099
44098
  return __awaiter(this, void 0, void 0, function* () {
44100
- const c = yield PageNavigator.pushPageForResult(AddMiniContactPage, {
44101
- mailboxID: this.parameters.id
44102
- });
44099
+ const c = yield PageNavigator.pushPageForResult(AddMiniContactPage, this.currentMailbox);
44103
44100
  let existing = this.mails.find(x => x.emailAddressID === c.emailAddressID);
44104
44101
  if (!existing) {
44105
44102
  existing = c;