FIX: Voters arrow shown on polls with invalid public config.

This commit is contained in:
Guo Xiang Tan 2016-06-22 23:34:39 +08:00
parent fc9cfd698d
commit 3646d45110
No known key found for this signature in database
GPG key ID: 19C321C8952B0F72
2 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,6 @@
{{{averageRating}}}
</div>
{{#if poll.public}}
{{#if isPublic}}
{{poll-results-number-voters poll=poll}}
{{/if}}

View file

@ -10,7 +10,7 @@
<div class="bar" style={{option.style}}></div>
</div>
{{#if poll.public}}
{{#if isPublic}}
{{poll-results-standard-voters option=option}}
{{/if}}
</li>