@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.
@@ -56121,7 +56121,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
56121
56121
  publishProduct() {
56122
56122
  return __awaiter(this, void 0, void 0, function* () {
56123
56123
  this.model.active = true;
56124
- const added = !this.model.storeItemID;
56125
56124
  if (this.model.storeItemTags) {
56126
56125
  let sortOrder = 0;
56127
56126
  for (const iterator of this.model.storeItemTags) {
@@ -56129,17 +56128,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
56129
56128
  }
56130
56129
  }
56131
56130
  yield this.storeItemService.save(this.model);
56132
- if (added) {
56133
- location.href = AppCommands.editProduct.displayRoute({
56134
- storeItemID: this.model.storeItemID
56135
- });
56136
- return;
56137
- }
56138
56131
  yield this.init();
56139
56132
  });
56140
56133
  }
56141
56134
  saveProduct() {
56142
56135
  return __awaiter(this, void 0, void 0, function* () {
56136
+ const added = !this.model.storeItemID;
56143
56137
  if (this.model.storeItemTags) {
56144
56138
  let sortOrder = 0;
56145
56139
  for (const iterator of this.model.storeItemTags) {
@@ -56147,6 +56141,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
56147
56141
  }
56148
56142
  }
56149
56143
  yield this.storeItemService.save(this.model);
56144
+ if (added) {
56145
+ location.href = AppCommands.editProduct.displayRoute({
56146
+ storeItemID: this.model.storeItemID
56147
+ });
56148
+ return;
56149
+ }
56150
56150
  yield this.init();
56151
56151
  });
56152
56152
  }