mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-19 13:06:10 -05:00
FIX: Voters arrow shown on polls with invalid public config.
This commit is contained in:
parent
fc9cfd698d
commit
3646d45110
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,6 @@
|
||||||
{{{averageRating}}}
|
{{{averageRating}}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if poll.public}}
|
{{#if isPublic}}
|
||||||
{{poll-results-number-voters poll=poll}}
|
{{poll-results-number-voters poll=poll}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<div class="bar" style={{option.style}}></div>
|
<div class="bar" style={{option.style}}></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if poll.public}}
|
{{#if isPublic}}
|
||||||
{{poll-results-standard-voters option=option}}
|
{{poll-results-standard-voters option=option}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue