We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 594877b commit 6a5f85bCopy full SHA for 6a5f85b
backend/src/pokers/poker-room.ts
@@ -354,14 +354,15 @@ export class PokerRoom {
354
*/
355
public getUnobscuredVotes( story: Story ): Vote[] {
356
const notVotedClients:Member[] = this.getVotePendingClients();
357
+ const notVoted = notVotedClients.map(
358
+ ( client: Member ): ObscuredVote => this.getObscuredVote( this.currentStory, client ),
359
+ );
360
361
return [
362
// The actual votes.
363
...story.votes,
- // Backfill pending votes with obscured '?' votes.
- ...notVotedClients.map(
- ( client: Member ): ObscuredVote => this.getObscuredVote( this.currentStory, client ),
364
- ),
+ // Backfill pending votes with obscured votes.
365
+ ...notVoted,
366
];
367
}
368
0 commit comments