@social-mail/social-mail-client 1.2.295 → 1.2.296

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.
@@ -34094,8 +34094,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
34094
34094
  }
34095
34095
  save(file) {
34096
34096
  return __awaiter(this, void 0, void 0, function* () {
34097
- const c = this.entityService.cloner(file);
34098
- yield this.entityService.save(c.copy);
34097
+ yield this.entityService.save(file, c => c);
34099
34098
  return file;
34100
34099
  });
34101
34100
  }
@@ -40143,6 +40142,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
40143
40142
  onItemExpanded(item) {
40144
40143
  return __awaiter(this, void 0, void 0, function* () {
40145
40144
  yield this.cloudFileService.expand(item, void 0, this.accept);
40145
+ const setParent = i => {
40146
+ if (!i.children) {
40147
+ return;
40148
+ }
40149
+ for (const iterator of i.children) {
40150
+ iterator.parent = i;
40151
+ }
40152
+ };
40153
+ setParent(item);
40146
40154
  });
40147
40155
  }
40148
40156
  onDeleteItem(file) {
@@ -40173,6 +40181,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
40173
40181
  parentID
40174
40182
  });
40175
40183
  ((_a = file.children) !== null && _a !== void 0 ? _a : file.children = []).add(child);
40184
+ child.parent = file;
40176
40185
  });
40177
40186
  }
40178
40187
  onRenameItem(file) {