diff --git a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js index e1882d3a75..2716b74850 100644 --- a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js +++ b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js @@ -209,33 +209,31 @@ function InstanceDetail({ setBreadcrumb, isK8s }) { - {(isExecutionNode || isHopNode || !isManaged) && ( - <> - {instance.related?.install_bundle && ( - - - - } - /> - )} - - + {!isManaged && instance.related?.install_bundle && ( + + + + } + /> + )} + {(isExecutionNode || isHopNode) && ( + )} {!isHopNode && ( <> @@ -341,9 +339,8 @@ function InstanceDetail({ setBreadcrumb, isK8s }) { )} - {config?.me?.is_superuser && - isK8s && - (isExecutionNode || isHopNode || !isManaged) && ( + {config?.me?.is_superuser && isK8s && !isManaged && ( + <> - )} - {config?.me?.is_superuser && - isK8s && - (isExecutionNode || isHopNode || !isManaged) && ( - )} + + )} {isExecutionNode && (