Skip to content

Commit

Permalink
Fix election projection user names not displayed (#3623)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel authored and peb-adr committed Apr 30, 2024
1 parent 08044c7 commit 3883f74
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ export class PollSlideComponent extends BaseSlideComponent<PollSlideData> {
const getOptionTitle: () => OptionTitle = () => {
if (data.text) {
return { title: data.text };
} else if (data.content_object && data.content_object.collection === `user`) {
return { title: (<any>data.content_object).username };
} else if (data.content_object) {
modifyAgendaItemNumber(data.content_object!);
const repo = this.collectionMapperService.getRepository(data.content_object!.collection);
Expand Down

0 comments on commit 3883f74

Please sign in to comment.