Commit 23b8b8debde111e3ef309a7fca01ce38f3eb3c4c

Authored by Igor Kulikov
Committed by GitHub
2 parents d582f5b8 6a63b6e3

Merge pull request #4756 from Dmitriymush/fix/entity-hierarchy-widget

[PROD-520]Bug-fix/entity hierarchy widget entity node level
... ... @@ -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));
... ...