diff --git a/src/main/webapp/app/shared/metis/posting-content/posting-content-part/posting-content-part.components.ts b/src/main/webapp/app/shared/metis/posting-content/posting-content-part/posting-content-part.components.ts index b62f02275502..131fe6183f35 100644 --- a/src/main/webapp/app/shared/metis/posting-content/posting-content-part/posting-content-part.components.ts +++ b/src/main/webapp/app/shared/metis/posting-content/posting-content-part/posting-content-part.components.ts @@ -59,7 +59,7 @@ export class PostingContentPartComponent implements OnChanges, OnInit { } ngOnChanges(changes: SimpleChanges): void { - if (changes['postingContentPart'] && !changes['postingContentPart'].firstChange) { + if (changes.postingContentPart && !changes.postingContentPart.firstChange) { this.processContent(); } }