@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.
@@ -23069,8 +23069,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23069
23069
  }
23070
23070
  save(file) {
23071
23071
  return __awaiter(this, void 0, void 0, function* () {
23072
- const c = this.entityService.cloner(file);
23073
- yield this.entityService.save(c.copy);
23072
+ yield this.entityService.save(file, c => c);
23074
23073
  return file;
23075
23074
  });
23076
23075
  }
@@ -43981,6 +43980,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
43981
43980
  onItemExpanded(item) {
43982
43981
  return __awaiter(this, void 0, void 0, function* () {
43983
43982
  yield this.cloudFileService.expand(item, void 0, this.accept);
43983
+ const setParent = i => {
43984
+ if (!i.children) {
43985
+ return;
43986
+ }
43987
+ for (const iterator of i.children) {
43988
+ iterator.parent = i;
43989
+ }
43990
+ };
43991
+ setParent(item);
43984
43992
  });
43985
43993
  }
43986
43994
  onDeleteItem(file) {
@@ -44011,6 +44019,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
44011
44019
  parentID
44012
44020
  });
44013
44021
  ((_a = file.children) !== null && _a !== void 0 ? _a : file.children = []).add(child);
44022
+ child.parent = file;
44014
44023
  });
44015
44024
  }
44016
44025
  onRenameItem(file) {