mirror of https://github.com/apache/cloudstack.git
Add reconnect button to hosts on alert (#8468)
Currently, if a host is on alert, the option to reconnect it is not presented in the UI. This PR addresses this issue by adding a reconnect button to the host if it is in an alert state.
This commit is contained in:
parent
f023fc53c0
commit
76aff0f422
|
|
@ -94,7 +94,7 @@ export default {
|
|||
label: 'label.action.force.reconnect',
|
||||
message: 'message.confirm.action.force.reconnect',
|
||||
dataView: true,
|
||||
show: (record) => { return ['Disconnected', 'Up'].includes(record.state) }
|
||||
show: (record) => { return ['Disconnected', 'Up', 'Alert'].includes(record.state) }
|
||||
},
|
||||
{
|
||||
api: 'updateHost',
|
||||
|
|
|
|||
Loading…
Reference in New Issue