From 31abc55cbafbb617e9aca2c3f020d7f62331f447 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 12 May 2021 17:03:39 +0200 Subject: [PATCH] missing trailing ; --- public/js/app.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index 18f1a02..1d8ab9e 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -98,8 +98,8 @@ app.component('bucket', return { key: category, values: _(ctrl.raw_data).select((line) => { return line.account.match(`^${category}:.*`); }) - } - }) + }; + }); }); } }; @@ -194,9 +194,7 @@ app.component('dashboard', interactiveLayer: { dispatch: { elementClick: (t) => { - console.log(ctrl.period) ctrl.period = t.pointXValue; - console.log(ctrl.period) } }, tooltip: { @@ -281,7 +279,7 @@ app.component('dashboard', name: account[0], depth: _(['Expenses']).contains(account[0]) ? 2 : _(['Income']).contains(account[0]) ? 1 : 0, max_depth: _.chain(ctrl.raw_accounts) - .select((account2) => { return account2[0] == account[0] }) + .select((account2) => { return account2[0] == account[0]; }) .reduce((memo, account3) => { return account3.length > memo ? account3.length : memo; }, 0) .value() };