fix: removed not needed TODO
chore: added a TODO for the new admin
This commit is contained in:
parent
da7cc04268
commit
363e69402d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ const supportArtices = [
|
||||||
article:
|
article:
|
||||||
'https://support.lamassu.is/hc/en-us/categories/115000075249-Troubleshooting'
|
'https://support.lamassu.is/hc/en-us/categories/115000075249-Troubleshooting'
|
||||||
}
|
}
|
||||||
|
// TODO add Stuck and Fully Functional statuses articles for the new-admins
|
||||||
]
|
]
|
||||||
|
|
||||||
const article = ({ code: status }) =>
|
const article = ({ code: status }) =>
|
||||||
|
|
@ -86,7 +87,6 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
|
||||||
setErrorMessage(errorMessage)
|
setErrorMessage(errorMessage)
|
||||||
},
|
},
|
||||||
onCompleted: () => {
|
onCompleted: () => {
|
||||||
// TODO: custom onActionSuccess needs to be passed down from the machinestatus table
|
|
||||||
onActionSuccess ? onActionSuccess() : window.location.reload()
|
onActionSuccess ? onActionSuccess() : window.location.reload()
|
||||||
setConfirmActionDialogOpen(false)
|
setConfirmActionDialogOpen(false)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue