@social-mail/social-mail-client 1.2.365 → 1.2.366

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.
@@ -51802,7 +51802,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
51802
51802
  publishProduct() {
51803
51803
  return __awaiter(this, void 0, void 0, function* () {
51804
51804
  this.model.active = true;
51805
- const added = !this.model.storeItemID;
51806
51805
  if (this.model.storeItemTags) {
51807
51806
  let sortOrder = 0;
51808
51807
  for (const iterator of this.model.storeItemTags) {
@@ -51810,17 +51809,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
51810
51809
  }
51811
51810
  }
51812
51811
  yield this.storeItemService.save(this.model);
51813
- if (added) {
51814
- location.href = AppCommands.editProduct.displayRoute({
51815
- storeItemID: this.model.storeItemID
51816
- });
51817
- return;
51818
- }
51819
51812
  yield this.init();
51820
51813
  });
51821
51814
  }
51822
51815
  saveProduct() {
51823
51816
  return __awaiter(this, void 0, void 0, function* () {
51817
+ const added = !this.model.storeItemID;
51824
51818
  if (this.model.storeItemTags) {
51825
51819
  let sortOrder = 0;
51826
51820
  for (const iterator of this.model.storeItemTags) {
@@ -51828,6 +51822,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
51828
51822
  }
51829
51823
  }
51830
51824
  yield this.storeItemService.save(this.model);
51825
+ if (added) {
51826
+ location.href = AppCommands.editProduct.displayRoute({
51827
+ storeItemID: this.model.storeItemID
51828
+ });
51829
+ return;
51830
+ }
51831
51831
  yield this.init();
51832
51832
  });
51833
51833
  }