@acorex/components 6.5.16 → 6.5.18
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.
@@ -15201,7 +15201,6 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
15201
15201
|
}
|
15202
15202
|
getLevel(item) {
|
15203
15203
|
return new Promise((resolve, reject) => {
|
15204
|
-
debugger;
|
15205
15204
|
if (item.parentNode) {
|
15206
15205
|
this.levelCount = this.levelCount + 1;
|
15207
15206
|
this.getLevel(item.parentNode).then((res) => {
|
@@ -15237,7 +15236,9 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
15237
15236
|
//select parent when check child and check parent is false TODO check this Action
|
15238
15237
|
this.selectItem(el);
|
15239
15238
|
}
|
15240
|
-
this.
|
15239
|
+
if (!this.disabled) {
|
15240
|
+
this.open(el);
|
15241
|
+
}
|
15241
15242
|
}
|
15242
15243
|
else {
|
15243
15244
|
this.selectItem(el);
|
@@ -15309,9 +15310,7 @@ class AXTreeViewComponent extends AXBaseComponent {
|
|
15309
15310
|
if (n.includes(result[i][this.keyField])) {
|
15310
15311
|
if (result[i][this.hasChildField] == true) {
|
15311
15312
|
this.levelCount = 0;
|
15312
|
-
debugger;
|
15313
15313
|
this.getLevel(result[i]).then((resLevel) => {
|
15314
|
-
debugger;
|
15315
15314
|
if (this.checkParents == false && this.checkChilds == false && n.length == this.levelCount) {
|
15316
15315
|
//select parent when check child and check parent is false TODO check this Action
|
15317
15316
|
this.selectItem(result[i]);
|