fix: cash cassettes editing

This commit is contained in:
Sérgio Salgado 2021-06-11 15:44:59 +01:00 committed by Josh Harvey
parent a79a5a21e7
commit 60415e23f3

View file

@ -187,7 +187,8 @@ const CashCassettes = () => {
{ {
name: 'edit', name: 'edit',
header: 'Edit', header: 'Edit',
width: 87, width: 175,
textAlign: 'center',
view: (value, { id }) => { view: (value, { id }) => {
return ( return (
<IconButton <IconButton
@ -220,7 +221,6 @@ const CashCassettes = () => {
<EditableTable <EditableTable
error={error?.message} error={error?.message}
name="cashboxes" name="cashboxes"
enableEdit
stripeWhen={isCashOutDisabled} stripeWhen={isCashOutDisabled}
elements={elements} elements={elements}
data={machines} data={machines}