nuxeo-development-framework 5.8.4 → 5.8.5

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.
@@ -10821,8 +10821,10 @@
10821
10821
  // }
10822
10822
  };
10823
10823
  TreeviewSelectComponent.prototype.updateSelectedItem = function () {
10824
+ var _this = this;
10825
+ var _a;
10824
10826
  if (!_.isNil(this.items)) {
10825
- var selectedItem = i1$9.TreeviewHelper.findItemInList(this.items, this.value);
10827
+ var selectedItem = (_a = i1$9.TreeviewHelper.findItemInList(this.items, this.value)) !== null && _a !== void 0 ? _a : this.items.find(function (item) { return item.value.uid === _this.value; });
10826
10828
  this.selectItem(selectedItem);
10827
10829
  }
10828
10830
  };