mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-20 13:51:45 +00:00
9a6cc40d38
Builds on the bag-total fix: extracts an itemWeight() helper (unit weight x quantity, defaults 0 g / qty 1) and uses it for every weight sum - bag totals and max, unassigned weight, and the grand total, in both the sidebar and the bag modal - so the figures stay consistent. Adds unit tests for the helper.