Remove interval% from annual waste info; fix conf whole-qty using package expiry not opened shelf-life

This commit is contained in:
dadaloop82
2026-04-29 17:05:38 +00:00
parent e71ef3aba3
commit 8d02e76501
5 changed files with 18 additions and 6 deletions
+1 -3
View File
@@ -2293,9 +2293,7 @@ function _renderAntiWasteSection(used30, wasted30, usedP30, wastedP30, usedP60,
const avgAnnualKg = Math.round(bm.avgKgMonth * 12);
const annualInfo = t('antiwaste.annual_info')
.replace('{you}', myAnnualKg)
.replace('{avg}', avgAnnualKg)
.replace('{min}', bm.rangeMin)
.replace('{max}', bm.rangeMax);
.replace('{avg}', avgAnnualKg);
// Build all badge objects (shown 4 at a time, rotated every 5 min)
const diffPct = avgRate - myRate;