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() {
|
totalKreditsEarned: computed(function() {
|
||||||
return this.kredits.Contribution.functions.totalKreditsEarned(true)
|
return this.kredits.Contribution.functions.totalKreditsEarned(true);
|
||||||
.then(total => total.toNumber());
|
|
||||||
}),
|
}),
|
||||||
|
|
||||||
kreditsByContributor: computed('contributionsUnconfirmed.@each.vetoed', 'contributors.[]', function() {
|
kreditsByContributor: computed('contributionsUnconfirmed.@each.vetoed', 'contributors.[]', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user