Merge pull request #201 from 67P/update-for-new-amounts
Fix for new Contribution#totalKreditsEarned type
This commit was merged in pull request #201.
This commit is contained in:
@@ -153,8 +153,7 @@ export default Service.extend({
|
||||
}),
|
||||
|
||||
totalKreditsEarned: computed(function() {
|
||||
return this.kredits.Contribution.functions.totalKreditsEarned(true)
|
||||
.then(total => total.toNumber());
|
||||
return this.kredits.Contribution.functions.totalKreditsEarned(true);
|
||||
}),
|
||||
|
||||
kreditsByContributor: computed('contributionsUnconfirmed.@each.vetoed', 'contributors.[]', function() {
|
||||
|
||||
Reference in New Issue
Block a user