From 092f5f57cfc380dd9a8e021cec4c1630056a80a9 Mon Sep 17 00:00:00 2001 From: Bastian Rihm Date: Wed, 24 Apr 2024 12:42:53 +0200 Subject: [PATCH] Fix motion without submitters projection (#3601) --- .../components/motion-slide/motion-slide.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/motions/modules/motion-slide/components/motion-slide/motion-slide.component.ts b/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/motions/modules/motion-slide/components/motion-slide/motion-slide.component.ts index 539de91f56..697f15c3e6 100644 --- a/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/motions/modules/motion-slide/components/motion-slide/motion-slide.component.ts +++ b/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/motions/modules/motion-slide/components/motion-slide/motion-slide.component.ts @@ -168,7 +168,7 @@ export class MotionSlideComponent protected override setData(value: SlideData): void { super.setData(value); - const submitters = [...value.data.submitters] || []; + const submitters = value.data.submitters ? [...value.data.submitters] : []; if (value.data.additional_submitter) { submitters.push(value.data.additional_submitter); }