fix: code review changes
This commit is contained in:
parent
e58acdb8be
commit
1e1bfe58a4
3 changed files with 10 additions and 10 deletions
|
|
@ -127,7 +127,7 @@ const getCashUnitFieldName = (step, numberOfCassettes, numberOfRecyclers) => {
|
|||
category: 'cassette'
|
||||
}
|
||||
const recyclerStepsStart = CASHBOX_STEP + numberOfCassettes + 1
|
||||
if (step < recyclerStepsStart + numberOfRecyclers * 2)
|
||||
if (step < recyclerStepsStart + numberOfRecyclers)
|
||||
return {
|
||||
name: `recycler${Math.ceil(step - recyclerStepsStart + 1)}`,
|
||||
category: 'recycler'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue