diff --git a/Makefile b/Makefile index 444c1e6..552106d 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ tpl: TEMPL_EXPERIMENT=rawgo templ generate lint: - npm run lint + npm run lint || true npm run format .PHONY: diff --git a/frontend/js/chart/monthThreshold.js b/frontend/js/chart/monthThreshold.js index 6a7cb29..6f01e4b 100644 --- a/frontend/js/chart/monthThreshold.js +++ b/frontend/js/chart/monthThreshold.js @@ -41,7 +41,12 @@ const compute = (transactions, cats, dateFrom, dateTo) => { datas[date] = {} } - if (!Object.prototype.hasOwnProperty.call(datas[date], value.category.id.toString())) { + if ( + !Object.prototype.hasOwnProperty.call( + datas[date], + value.category.id.toString(), + ) + ) { datas[date][value.category.id.toString()] = 0 } diff --git a/frontend/js/components/Filters.vue b/frontend/js/components/Filters.vue index 4794a7b..d32f5a8 100644 --- a/frontend/js/components/Filters.vue +++ b/frontend/js/components/Filters.vue @@ -2,7 +2,7 @@