parent
1f7a41c963
commit
c6adbf602c
@ -463,7 +463,7 @@ export class AppElement implements DependencyProvider, ElementRef, AfterViewChec
|
|||||||
var inj: AppElement = this;
|
var inj: AppElement = this;
|
||||||
while (isPresent(inj)) {
|
while (isPresent(inj)) {
|
||||||
inj._setQueriesAsDirty();
|
inj._setQueriesAsDirty();
|
||||||
if (isBlank(inj.parent) && isPresent(inj.parentView.containerAppElement)) {
|
if (isBlank(inj.parent) && inj.parentView.proto.type === ViewType.EMBEDDED) {
|
||||||
inj = inj.parentView.containerAppElement;
|
inj = inj.parentView.containerAppElement;
|
||||||
} else {
|
} else {
|
||||||
inj = inj.parent;
|
inj = inj.parent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user