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.
- package/bundles/nuxeo-development-framework.umd.js +3 -1
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +3 -2
- package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +2 -1
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|