Refactor contract interaction in its own module #42

Merged
bumi merged 11 commits from kredits-module into master 2018-04-10 13:46:58 +00:00
Showing only changes of commit ce8fef79dc - Show all commits
+1 -1
View File
@@ -26,7 +26,7 @@ export default Controller.extend({
return this.get('model.proposals')
fsmanuel commented 2018-04-10 12:11:53 +00:00 (Migrated from github.com)
Review

No need for .toString()

No need for `.toString()`
.map((proposal) => {
let contributor = this.get('contributors')
.findBy('id', proposal.get('recipientId'));
.findBy('id', proposal.get('recipientId').toString());
proposal.set('contributor', contributor);