mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
Show results by default for closed polls
This commit is contained in:
parent
6daef624c3
commit
6e8392bf8e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ var Poll = Discourse.Model.extend({
|
||||||
|
|
||||||
var PollController = Discourse.Controller.extend({
|
var PollController = Discourse.Controller.extend({
|
||||||
poll: null,
|
poll: null,
|
||||||
showResults: false,
|
showResults: Em.computed.oneWay('poll.post.poll_details.closed'),
|
||||||
|
|
||||||
disableRadio: Em.computed.any('poll.post.poll_details.closed', 'loading'),
|
disableRadio: Em.computed.any('poll.post.poll_details.closed', 'loading'),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue