Skip to content

Commit

Permalink
Fix election projection user names not displayed (OpenSlides#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 10113ea commit d819f96
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 d819f96

Please sign in to comment.