From 84def9fdb7bd7d0018feafeecc73061bd6b8b8fc Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Fri, 11 Nov 2022 08:58:11 -0600 Subject: [PATCH] Removes software links from device user page (#8668) --- .../hosts/details/cards/Software/SoftwareTableConfig.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/pages/hosts/details/cards/Software/SoftwareTableConfig.tsx b/frontend/pages/hosts/details/cards/Software/SoftwareTableConfig.tsx index ef6472d911..1c7db958b0 100644 --- a/frontend/pages/hosts/details/cards/Software/SoftwareTableConfig.tsx +++ b/frontend/pages/hosts/details/cards/Software/SoftwareTableConfig.tsx @@ -149,6 +149,13 @@ export const generateSoftwareTableHeaders = ( disableGlobalFilter: false, Cell: (cellProps: IStringCellProps) => { const { id, name, bundle_identifier: bundle } = cellProps.row.original; + if (deviceUser) { + return bundle ? ( + renderBundleTooltip(name, bundle) + ) : ( + {name} + ); + } return ( {bundle ? renderBundleTooltip(name, bundle) : name}