fix to entity node level
This commit is contained in:
parent
5a0336aae2
commit
6a63b6e31d
@ -443,7 +443,7 @@ export class EntitiesHierarchyWidgetComponent extends PageComponent implements O
|
|||||||
const dataPageData = subscription.dataPages[0];
|
const dataPageData = subscription.dataPages[0];
|
||||||
const childNodes: HierarchyNavTreeNode[] = [];
|
const childNodes: HierarchyNavTreeNode[] = [];
|
||||||
datasourcesPageData.data.forEach((childDatasource, index) => {
|
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;
|
nodeCtx.childrenNodesLoaded = true;
|
||||||
childrenNodesLoadCb(this.prepareNodes(childNodes));
|
childrenNodesLoadCb(this.prepareNodes(childNodes));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user