diff --git a/public/pure.html b/public/pure.html index e5c9986..8afbb17 100644 --- a/public/pure.html +++ b/public/pure.html @@ -94,19 +94,19 @@ Controls.period.set( current_period ); }, }, - granularity: { - set: ( value ) => { - if ( !isNaN( parseInt( value ) ) ) { - granularity = parseInt( value ); + /* granularity: { + * set: ( value ) => { + * if ( !isNaN( parseInt( value ) ) ) { + * granularity = parseInt( value ); - monthly(); - } - } - } + * monthly(); + * } + * } + * } */ }; const monthly = () => { - API.balance( current_period.toISOString().split("T")[0].slice( 0, -3 ), ["Expenses"].join(" "), granularity ) + API.balance( current_period.toISOString().split("T")[0].slice( 0, -3 ), ["Expenses"].join(" "), 999 ) .then( balance => { const total = balance.reduce( (memo, line) => memo + line.amount, 0 ); @@ -130,9 +130,9 @@
-