diff --git a/striker-ui/components/Hosts/index.tsx b/striker-ui/components/Hosts/index.tsx index 16afa04b..a22b2e53 100644 --- a/striker-ui/components/Hosts/index.tsx +++ b/striker-ui/components/Hosts/index.tsx @@ -20,11 +20,11 @@ const Hosts = ({ anvil }: { anvil: AnvilListItem[] }): JSX.Element => { <> {anvil.findIndex((a) => a.anvil_uuid === uuid) !== -1 && data && ( a.anvil_uuid === uuid) - ].hosts.map((host, index) => { - return data.hosts[index]; - })} + hosts={anvil[anvil.findIndex((a) => a.anvil_uuid === uuid)].hosts + .filter((host) => host.host_uuid) + .map((host, index) => { + return data.hosts[index]; + })} /> )}