MOBILE-3644 core: Fix on changes in dynamic-component
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…
Reference in New Issue