disabled={!canOperateMachines}

master
Tudor Stanciu 2023-04-15 00:59:40 +03:00
parent 3a211bcb17
commit 27be2a2844
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ const ActionsGroup = ({ machine, actions, addLog }) => {
key={`machine-item-${machine.machineId}-${action.code}`} key={`machine-item-${machine.machineId}-${action.code}`}
action={action} action={action}
machine={machine} machine={machine}
disabled={!canOperateMachines}
/> />
))} ))}
<ActionButton <ActionButton