Skip to content

Commit 3a10d73

Browse files
author
Henrique Sato
committed
Add reconnect button to hosts on alert
1 parent f023fc5 commit 3a10d73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/config/section/infra/hosts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default {
9494
label: 'label.action.force.reconnect',
9595
message: 'message.confirm.action.force.reconnect',
9696
dataView: true,
97-
show: (record) => { return ['Disconnected', 'Up'].includes(record.state) }
97+
show: (record) => { return ['Disconnected', 'Up', 'Alert'].includes(record.state) }
9898
},
9999
{
100100
api: 'updateHost',

0 commit comments

Comments
 (0)