Show correct number for kredits distribution

This commit is contained in:
2017-05-14 16:25:02 +02:00
parent d7aaadea2b
commit 2405e3e118
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -10,7 +10,6 @@ export default Ember.Route.extend({
return Ember.RSVP.hash({ return Ember.RSVP.hash({
contributors: kredits.getContributors(), contributors: kredits.getContributors(),
totalSupply: kredits.getValueFromContract('tokenContract', 'totalSupply'), totalSupply: kredits.getValueFromContract('tokenContract', 'totalSupply'),
contributorsCount: kredits.getValueFromContract('kreditsContract', 'contributorsCount'),
proposals: kredits.getProposals() proposals: kredits.getProposals()
}); });
} }
+1 -1
View File
@@ -8,7 +8,7 @@
<p class="stats"> <p class="stats">
<span class="number">{{model.totalSupply}}</span> kredits issued and distributed among <span class="number">{{model.totalSupply}}</span> kredits issued and distributed among
<span class="number">{{model.contributorsCount}}</span> contributors. <span class="number">{{contributorsWithKredits.length}}</span> contributors.
</p> </p>
</div> </div>
</section> </section>