diff --git a/client/src/app/site/cinema/components/poll-collection/poll-collection.component.html b/client/src/app/site/cinema/components/poll-collection/poll-collection.component.html index 6010bddc5..797f4f5ed 100644 --- a/client/src/app/site/cinema/components/poll-collection/poll-collection.component.html +++ b/client/src/app/site/cinema/components/poll-collection/poll-collection.component.html @@ -1,4 +1,4 @@ - +

{{ getPollVoteTitle(poll) }}

diff --git a/client/src/app/site/cinema/components/poll-collection/poll-collection.component.ts b/client/src/app/site/cinema/components/poll-collection/poll-collection.component.ts index 3d4c93350..5aec27166 100644 --- a/client/src/app/site/cinema/components/poll-collection/poll-collection.component.ts +++ b/client/src/app/site/cinema/components/poll-collection/poll-collection.component.ts @@ -53,6 +53,10 @@ export class PollCollectionComponent extends BaseViewComponentDirective implemen ); } + public identifyPoll(index: number, poll: ViewBasePoll): number { + return poll.id; + } + public getPollVoteTitle(poll: ViewBasePoll): string { const contentObject = poll.getContentObject(); const listTitle = contentObject.getListTitle();