fix: saving recycler counts

This commit is contained in:
siiky 2023-10-19 20:11:44 +01:00
parent 33da2ea5e3
commit 277335fea4

View file

@ -66,8 +66,7 @@ const Wizard = ({ machine, cashoutSettings, locale, onClose, save, error }) => {
const buildRecyclerObj = cassetteInput => {
return R.reduce(
(acc, value) => {
acc[value] = machine.cashUnits[value]
// acc[value] = defaultToZero(cassetteInput[value])
acc[value] = defaultToZero(cassetteInput[value])
return acc
},
{},