mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Removes software links from device user page (#8668)
This commit is contained in:
parent
9f3c83b7c5
commit
84def9fdb7
1 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
) : (
|
||||
<span>{name}</span>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<Link to={`${PATHS.SOFTWARE_DETAILS(id.toString())}`}>
|
||||
{bundle ? renderBundleTooltip(name, bundle) : name}
|
||||
|
|
|
|||
Loading…
Reference in a new issue