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 || {});
|
const changes = this.differ.diff(this.data || {});
|
||||||
if (changes) {
|
if (changes) {
|
||||||
this.setInputData();
|
this.setInputData();
|
||||||
if (this.ngOnChanges) {
|
if (this.instance.ngOnChanges) {
|
||||||
this.ngOnChanges(CoreDomUtils.createChangesFromKeyValueDiff(changes));
|
this.instance.ngOnChanges(CoreDomUtils.createChangesFromKeyValueDiff(changes));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue