fix(upgrade): correctly run change detection when propagateDigest
is false
This commit is contained in:

committed by
Alex Rickabaugh

parent
546eb7d851
commit
617b3d2ba5
@ -151,7 +151,7 @@ export class DowngradeComponentAdapter {
|
||||
}
|
||||
|
||||
// Attach the view so that it will be dirty-checked.
|
||||
if (needsNgZone) {
|
||||
if (needsNgZone || !propagateDigest) {
|
||||
const appRef = this.parentInjector.get<ApplicationRef>(ApplicationRef);
|
||||
appRef.attachView(this.componentRef.hostView);
|
||||
}
|
||||
|
Reference in New Issue
Block a user