refactor(ivy): replace LView.child with TView.childIndex lookup (#24211)
PR Close #24211
This commit is contained in:

committed by
Victor Berchet

parent
6a663a4073
commit
7e3f8f77a9
@ -590,7 +590,7 @@ export function getOrCreateContainerRef(di: LInjector): viewEngine_ViewContainer
|
||||
lContainerNode.tNode = hostTNode.dynamicContainerNode;
|
||||
vcRefHost.dynamicLContainerNode = lContainerNode;
|
||||
|
||||
addToViewTree(vcRefHost.view, lContainer);
|
||||
addToViewTree(vcRefHost.view, hostTNode.index as number, lContainer);
|
||||
|
||||
di.viewContainerRef = new ViewContainerRef(lContainerNode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user