Merge pull request #2248 from riking/closed-result
Show results by default for closed polls
This commit is contained in:
commit
8e58687df5
|
@ -36,7 +36,7 @@ var Poll = Discourse.Model.extend({
|
|||
|
||||
var PollController = Discourse.Controller.extend({
|
||||
poll: null,
|
||||
showResults: false,
|
||||
showResults: Em.computed.oneWay('poll.post.poll_details.closed'),
|
||||
|
||||
disableRadio: Em.computed.any('poll.post.poll_details.closed', 'loading'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue