diff --git a/client/src/app/domain/models/motions/motion.ts b/client/src/app/domain/models/motions/motion.ts index 3cb4a6401b..b133202980 100644 --- a/client/src/app/domain/models/motions/motion.ts +++ b/client/src/app/domain/models/motions/motion.ts @@ -96,7 +96,7 @@ export class Motion extends BaseModel implements MotionFormattingReprese } public amendment_paragraph_text(paragraphNumber: number): string | null { - return this.amendment_paragraphs && this.amendment_paragraphs[paragraphNumber] + return this.amendment_paragraphs && typeof this.amendment_paragraphs[paragraphNumber] === `string` ? this.amendment_paragraphs[paragraphNumber] : null; }