Fix remaining existing tests
This commit is contained in:
parent
2083213131
commit
22729f4513
2 changed files with 2 additions and 2 deletions
|
@ -244,7 +244,7 @@ export default class MPollBody extends React.Component<IBodyProps, IState> {
|
|||
if (!this.state.voteRelations || !this.context) {
|
||||
return new Map<string, UserVote>();
|
||||
}
|
||||
return collectUserVotes(allVotes(this.state.voteRelations), null, this.state.selected);
|
||||
return collectUserVotes(allVotes(this.state.voteRelations), this.context.getUserId(), this.state.selected);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue