MOBILE-3644 core: Fix on changes in dynamic-component
This commit is contained in:
parent
8f991cecd0
commit
ae97ee3b23
@ -119,8 +119,8 @@ export class CoreDynamicComponent implements OnChanges, DoCheck {
|
||||
const changes = this.differ.diff(this.data || {});
|
||||
if (changes) {
|
||||
this.setInputData();
|
||||
if (this.ngOnChanges) {
|
||||
this.ngOnChanges(CoreDomUtils.createChangesFromKeyValueDiff(changes));
|
||||
if (this.instance.ngOnChanges) {
|
||||
this.instance.ngOnChanges(CoreDomUtils.createChangesFromKeyValueDiff(changes));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user