Merge pull request #12424 from germanocaumo/poll-ann-7
fix: don't show empty line when poll have 7 answers
This commit is contained in:
commit
fa8ced6165
@ -268,7 +268,7 @@ object Polls {
|
||||
|
||||
// Limit the number of answers displayed to minimize
|
||||
// squishing the display.
|
||||
if (sorted_answers.length < 7) {
|
||||
if (sorted_answers.length <= 7) {
|
||||
sorted_answers.foreach(ans => {
|
||||
answers += SimpleVoteOutVO(ans.id, ans.key, ans.numVotes)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user