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