Commit 23b8b8debde111e3ef309a7fca01ce38f3eb3c4c
Committed by
GitHub
Merge pull request #4756 from Dmitriymush/fix/entity-hierarchy-widget
[PROD-520]Bug-fix/entity hierarchy widget entity node level
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -443,7 +443,7 @@ export class EntitiesHierarchyWidgetComponent extends PageComponent implements O |
443 | 443 | const dataPageData = subscription.dataPages[0]; |
444 | 444 | const childNodes: HierarchyNavTreeNode[] = []; |
445 | 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 | 448 | nodeCtx.childrenNodesLoaded = true; |
449 | 449 | childrenNodesLoadCb(this.prepareNodes(childNodes)); | ... | ... |