@acorex/components 3.0.42 → 3.0.43

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.
@@ -14032,7 +14032,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
14032
14032
  _this.seletedKeyFields.forEach(function (n) {
14033
14033
  if (n.includes(el[_this.keyField])) {
14034
14034
  if (el[_this.hasChildField] == true) {
14035
- if (_this.checkParents == false && _this.checkChilds == false) {
14035
+ if ((_this.checkParents == false && _this.checkChilds == false) || _this.checkChilds == false) {
14036
14036
  //select parent when check child and check parent is false TODO check this Action
14037
14037
  _this.selectItem(el);
14038
14038
  }
@@ -14047,7 +14047,7 @@ var AXTreeViewComponent = /** @class */ (function (_super) {
14047
14047
  }
14048
14048
  else if (_this.selectedFieldName != null) {
14049
14049
  if (el[_this.hasChildField] == true && el[_this.selectedFieldName] == true) {
14050
- if (_this.checkParents == false && _this.checkChilds == false) {
14050
+ if ((_this.checkParents == false && _this.checkChilds == false) || _this.checkChilds == false) {
14051
14051
  //select parent when check child and check parent is false TODO check this Action
14052
14052
  _this.selectItem(el);
14053
14053
  }