Skip to content

Commit

Permalink
Revert "Remove duplicate install bundle on InstanceDetail"
Browse files Browse the repository at this point in the history
This reverts commit cf5ccf5.
  • Loading branch information
fosterseth committed Aug 1, 2023
1 parent 04e2415 commit 493b003
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,25 @@ function InstanceDetail({ setBreadcrumb, isK8s }) {
value={instance.peers_from_control_nodes ? t`On` : t`Off`}
/>
)}
{instance.related?.install_bundle && (
<Detail
label={t`Install Bundle`}
value={
<Tooltip content={t`Click to download bundle`}>
<Button
component="a"
isSmall
href={`${instance.related?.install_bundle}`}
target="_blank"
variant="secondary"
dataCy="install-bundle-download-button"
>
<DownloadIcon />
</Button>
</Tooltip>
}
/>
)}
{!isHopNode && (
<>
<Detail
Expand Down

0 comments on commit 493b003

Please sign in to comment.