perf(ivy): call refreshContentQueries only when there are content queries defined (#31839)
PR Close #31839
This commit is contained in:
parent
a4bc0db474
commit
c0317d40c9
|
@ -83,7 +83,9 @@ export function refreshDescendantViews(lView: LView) {
|
||||||
refreshDynamicEmbeddedViews(lView);
|
refreshDynamicEmbeddedViews(lView);
|
||||||
|
|
||||||
// Content query results must be refreshed before content hooks are called.
|
// Content query results must be refreshed before content hooks are called.
|
||||||
refreshContentQueries(tView, lView);
|
if (tView.contentQueries !== null) {
|
||||||
|
refreshContentQueries(tView, lView);
|
||||||
|
}
|
||||||
|
|
||||||
resetPreOrderHookFlags(lView);
|
resetPreOrderHookFlags(lView);
|
||||||
executeHooks(
|
executeHooks(
|
||||||
|
|
Loading…
Reference in New Issue