Skip to content

Commit

Permalink
Fix a problem in the poll service (#2963)
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl authored Nov 3, 2023
1 parent 8ec736c commit 77bfe4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class TopicPollService extends PollService {
const poll: Partial<Poll> = {
title: this.translate.instant(`Vote`),
onehundred_percent_base: this.defaultPercentBase,
entitled_group_ids: this.defaultGroupIds,
entitled_group_ids: Object.values(this.defaultGroupIds),
pollmethod: this.defaultPollMethod,
type: this.defaultPollType,
backend: PollBackendDurationType.FAST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class AssignmentPollService extends PollService {
const poll: Partial<Poll> = {
title: this.translate.instant(`Ballot`),
onehundred_percent_base: this.defaultPercentBase,
entitled_group_ids: this.defaultGroupIds,
entitled_group_ids: Object.values(this.defaultGroupIds),
pollmethod: this.defaultPollMethod,
type: this.isElectronicVotingEnabled ? this.defaultPollType : PollType.Analog
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class MotionPollService extends PollService {
const poll: Partial<Poll> = {
title: this.translate.instant(`Vote`),
onehundred_percent_base: this.defaultPercentBase,
entitled_group_ids: this.defaultGroupIds,
entitled_group_ids: Object.values(this.defaultGroupIds),
type: this.isElectronicVotingEnabled ? this.defaultPollType : PollType.Analog,
pollmethod: PollMethod.YNA
};
Expand Down

0 comments on commit 77bfe4e

Please sign in to comment.