diff --git a/app/routes/index.js b/app/routes/index.js index df8da39..ada98a1 100644 --- a/app/routes/index.js +++ b/app/routes/index.js @@ -10,7 +10,6 @@ export default Ember.Route.extend({ return Ember.RSVP.hash({ contributors: kredits.getContributors(), totalSupply: kredits.getValueFromContract('tokenContract', 'totalSupply'), - contributorsCount: kredits.getValueFromContract('kreditsContract', 'contributorsCount'), proposals: kredits.getProposals() }); } diff --git a/app/templates/index.hbs b/app/templates/index.hbs index d995bbf..18a524d 100644 --- a/app/templates/index.hbs +++ b/app/templates/index.hbs @@ -8,7 +8,7 @@
{{model.totalSupply}} kredits issued and distributed among - {{model.contributorsCount}} contributors. + {{contributorsWithKredits.length}} contributors.