Revert "Remove duplicate install bundle on InstanceDetail"

This reverts commit cf5ccf53f4322b49b1009ca13e4f025c30529b30.
This commit is contained in:
Seth Foster 2023-08-01 15:57:29 -04:00 committed by Seth Foster
parent 2bf6512a8e
commit eb0058268b

View File

@ -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