Skip to content
Snippets Groups Projects
Commit 674d2310 authored by germanocaumo's avatar germanocaumo
Browse files

fix: don't show empty line when poll have 7 answers

parent cb4697c9
No related branches found
No related tags found
No related merge requests found
...@@ -268,7 +268,7 @@ object Polls { ...@@ -268,7 +268,7 @@ object Polls {
// Limit the number of answers displayed to minimize // Limit the number of answers displayed to minimize
// squishing the display. // squishing the display.
if (sorted_answers.length < 7) { if (sorted_answers.length <= 7) {
sorted_answers.foreach(ans => { sorted_answers.foreach(ans => {
answers += SimpleVoteOutVO(ans.id, ans.key, ans.numVotes) answers += SimpleVoteOutVO(ans.id, ans.key, ans.numVotes)
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment