summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js
index 2716b74850..1c94bd158b 100644
--- a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js
+++ b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js
@@ -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 && (