From 4776bffd9edcb3c6c3e8461b1fdb374ed1e79903 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Mon, 1 Mar 2021 19:40:11 +0100 Subject: [PATCH] highcharts jshint errors --- www/app/controllers/account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/app/controllers/account.js b/www/app/controllers/account.js index 44580cd..8b11afa 100644 --- a/www/app/controllers/account.js +++ b/www/app/controllers/account.js @@ -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; }