Merge pull request #4756 from Dmitriymush/fix/entity-hierarchy-widget
[PROD-520]Bug-fix/entity hierarchy widget entity node level
This commit is contained in:
commit
23b8b8debd
@ -443,7 +443,7 @@ export class EntitiesHierarchyWidgetComponent extends PageComponent implements O
|
||||
const dataPageData = subscription.dataPages[0];
|
||||
const childNodes: HierarchyNavTreeNode[] = [];
|
||||
datasourcesPageData.data.forEach((childDatasource, index) => {
|
||||
childNodes.push(this.datasourceToNode(childDatasource as HierarchyNodeDatasource, dataPageData.data[index]));
|
||||
childNodes.push(this.datasourceToNode(childDatasource as HierarchyNodeDatasource, dataPageData.data[index], nodeCtx));
|
||||
});
|
||||
nodeCtx.childrenNodesLoaded = true;
|
||||
childrenNodesLoadCb(this.prepareNodes(childNodes));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user