fix: Dialog title shows undefined on confirm

This commit is contained in:
Nikola Ubavic 2021-12-07 18:37:22 +01:00
parent 338c1f85c9
commit e07d33fd41

View file

@ -93,7 +93,7 @@ const MachineActions = memo(({ machine, onActionSuccess }) => {
}, },
onCompleted: () => { onCompleted: () => {
onActionSuccess && onActionSuccess() onActionSuccess && onActionSuccess()
setAction({ command: null }) setAction({ display: action.display, command: null })
} }
}) })