From bf74aae80e663ca11faefdac89cc80037ab593db Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Thu, 16 Jul 2020 14:10:55 -0400 Subject: [PATCH] Use summary job_type on host list --- awx/ui_next/src/screens/Host/HostList/HostListItem.jsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/awx/ui_next/src/screens/Host/HostList/HostListItem.jsx b/awx/ui_next/src/screens/Host/HostList/HostListItem.jsx index 22a999c378..e2751f6f06 100644 --- a/awx/ui_next/src/screens/Host/HostList/HostListItem.jsx +++ b/awx/ui_next/src/screens/Host/HostList/HostListItem.jsx @@ -30,11 +30,6 @@ const DataListAction = styled(_DataListAction)` function HostListItem({ i18n, host, isSelected, onSelect, detailUrl }) { const labelId = `check-action-${host.id}`; - const recentPlaybookJobs = host.summary_fields.recent_jobs.map(job => ({ - ...job, - type: 'job', - })); - return ( @@ -52,7 +47,7 @@ function HostListItem({ i18n, host, isSelected, onSelect, detailUrl }) { , - + , {host.summary_fields.inventory && (