Showing
1 changed file
with
1 additions
and
1 deletions
@@ -443,7 +443,7 @@ export class EntitiesHierarchyWidgetComponent extends PageComponent implements O | @@ -443,7 +443,7 @@ export class EntitiesHierarchyWidgetComponent extends PageComponent implements O | ||
443 | const dataPageData = subscription.dataPages[0]; | 443 | const dataPageData = subscription.dataPages[0]; |
444 | const childNodes: HierarchyNavTreeNode[] = []; | 444 | const childNodes: HierarchyNavTreeNode[] = []; |
445 | datasourcesPageData.data.forEach((childDatasource, index) => { | 445 | datasourcesPageData.data.forEach((childDatasource, index) => { |
446 | - childNodes.push(this.datasourceToNode(childDatasource as HierarchyNodeDatasource, dataPageData.data[index])); | 446 | + childNodes.push(this.datasourceToNode(childDatasource as HierarchyNodeDatasource, dataPageData.data[index], nodeCtx)); |
447 | }); | 447 | }); |
448 | nodeCtx.childrenNodesLoaded = true; | 448 | nodeCtx.childrenNodesLoaded = true; |
449 | childrenNodesLoadCb(this.prepareNodes(childNodes)); | 449 | childrenNodesLoadCb(this.prepareNodes(childNodes)); |