fix(ivy): debug element should support components with ViewContainerRef (#29534)
PR Close #29534
This commit is contained in:
@ -403,9 +403,8 @@ function _queryAllR3(
|
||||
elementsOnly: boolean) {
|
||||
const context = loadLContext(parentElement.nativeNode) !;
|
||||
const parentTNode = context.lView[TVIEW].data[context.nodeIndex] as TNode;
|
||||
// This the fixture's debug element, so this is always a component view.
|
||||
const lView = context.lView[parentTNode.index];
|
||||
const tNode = lView[TVIEW].firstChild;
|
||||
const lView = getComponentViewByIndex(parentTNode.index, context.lView);
|
||||
const tNode = lView[TVIEW].firstChild !;
|
||||
_queryNodeChildrenR3(tNode, lView, predicate, matches, elementsOnly);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user