Commit 6a63b6e31dd02b9b63178f8bdf77be2cc8740b78

Authored by Dmitriymush
1 parent 5a0336aa

fix to 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));
... ...