mirror of
https://github.com/discourse/discourse.git
synced 2025-06-17 13:16:36 +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);
|
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", {
|
return ajax("/polls/voters.json", {
|
||||||
data: {
|
data: {
|
||||||
|
@ -336,6 +336,7 @@ div.poll-outer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.poll-voters-toggle-expand {
|
.poll-voters-toggle-expand {
|
||||||
|
margin-top: 0.25em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user