fix: removed unnecessary conditions when completing machine status

actions
This commit is contained in:
Liordino Neto 2020-10-26 08:31:53 -03:00 committed by Josh Harvey
parent b4898a92dc
commit 8ff0a7f79b

View file

@ -88,8 +88,8 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
},
onCompleted: () => {
onActionSuccess && onActionSuccess()
renameActionDialogOpen && setConfirmActionDialogOpen(false)
confirmActionDialogOpen && setRenameActionDialogOpen(false)
setConfirmActionDialogOpen(false)
setRenameActionDialogOpen(false)
}
})