From d819f96c12d021090168337b60c2f890815e8613 Mon Sep 17 00:00:00 2001 From: Bastian Rihm Date: Tue, 30 Apr 2024 12:24:21 +0200 Subject: [PATCH] Fix election projection user names not displayed (#3623) --- .../components/poll-slide/components/poll-slide.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/poll-slide/components/poll-slide.component.ts b/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/poll-slide/components/poll-slide.component.ts index c8f1cab69e..fec9fc3ee6 100644 --- a/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/poll-slide/components/poll-slide.component.ts +++ b/client/src/app/site/pages/meetings/modules/projector/modules/slides/components/poll-slide/components/poll-slide.component.ts @@ -120,6 +120,8 @@ export class PollSlideComponent extends BaseSlideComponent { const getOptionTitle: () => OptionTitle = () => { if (data.text) { return { title: data.text }; + } else if (data.content_object && data.content_object.collection === `user`) { + return { title: (data.content_object).username }; } else if (data.content_object) { modifyAgendaItemNumber(data.content_object!); const repo = this.collectionMapperService.getRepository(data.content_object!.collection);