|
|
|
|
@ -129,7 +129,7 @@ export default Ember.Controller.extend({
|
|
|
|
|
}), |
|
|
|
|
roundPercent: Ember.computed('stats', 'model', { |
|
|
|
|
get() { |
|
|
|
|
var percent = this.get('model.roundShares') / this.get('stats.roundShares'); |
|
|
|
|
var percent = this.get('model.roundShares') / this.get('stats.nShares'); |
|
|
|
|
if (!percent) { |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|