mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 00:55:06 +03:00
Remove enable button for hop nodes (#14861)
Enabled/disabled does not apply to hop nodes, since hop nodes don't run jobs. Signed-off-by: Seth Foster <fosterbseth@gmail.com>
This commit is contained in:
parent
40150a2be8
commit
f9a23a5645
@ -377,12 +377,14 @@ function InstanceDetail({ setBreadcrumb, isK8s }) {
|
||||
</Button>
|
||||
</Tooltip>
|
||||
)}
|
||||
<InstanceToggle
|
||||
css="display: inline-flex;"
|
||||
fetchInstances={fetchDetails}
|
||||
instance={instance}
|
||||
dataCy="enable-instance"
|
||||
/>
|
||||
{!isHopNode && (
|
||||
<InstanceToggle
|
||||
css="display: inline-flex;"
|
||||
fetchInstances={fetchDetails}
|
||||
instance={instance}
|
||||
dataCy="enable-instance"
|
||||
/>
|
||||
)}
|
||||
</CardActionsRow>
|
||||
|
||||
{error && (
|
||||
|
Loading…
Reference in New Issue
Block a user