src/frontend/backlog.app/db-storage.js
Function storeHistoricalData
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
storeHistoricalData(productsToday) {
// Calculates today total values and saves to indexedDB
// so we can draw some graphs about how we eat
// TODO: move process logic level up and here just store it