mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FIX: Poll voters list wasn't expanding properly (#28823)
This commit is contained in:
@ -479,7 +479,8 @@ export default class PollComponent extends Component {
|
||||
|
||||
this.preloadedVoters = Object.assign(preloadedVoters);
|
||||
|
||||
votersCount = this.options.find((option) => option.id === optionId).votes;
|
||||
votersCount = this.options.find((option) => option.id === optionId).voters
|
||||
.length;
|
||||
|
||||
return ajax("/polls/voters.json", {
|
||||
data: {
|
||||
|
@ -336,6 +336,7 @@ div.poll-outer {
|
||||
}
|
||||
|
||||
.poll-voters-toggle-expand {
|
||||
margin-top: 0.25em;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
|
Reference in New Issue
Block a user