Fix for new Contribution#totalKreditsEarned type #201

Merged
bumi merged 2 commits from update-for-new-amounts into master 2022-10-06 10:26:09 +00:00
+1 -2
View File
1
@@ -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() {