fix linting errors

This commit is contained in:
2018-04-03 19:19:11 +02:00
parent 3f0b1ccbcd
commit 5d6b4a5255
4 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -101,7 +101,9 @@ export default Ember.Controller.extend({
_handleProposalVoted(proposalId, voter, totalVotes) {
this.get('model.proposals')
.findBy('id', proposalId.toNumber())
.incrementProperty('votesCount', 1);
.setProperties({
'votesCount', totalVotes
});
},
_handleTransfer(data) {