mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-51237 Fixing card view item dispatcher change detection under zoneless
This commit is contained in:
+3
@@ -89,6 +89,9 @@ export class CardViewItemDispatcherComponent implements OnChanges {
|
|||||||
this.componentReference.instance[changeName] = change.currentValue;
|
this.componentReference.instance[changeName] = change.currentValue;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Writing to `.instance` does not mark the view dirty, which zoneless change detection requires.
|
||||||
|
this.componentReference.changeDetectorRef.markForCheck();
|
||||||
|
|
||||||
this.proxy('ngOnChanges', changes);
|
this.proxy('ngOnChanges', changes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user