Extend https://github.com/fleetdm/fleet/pull/39732 to the DUP (#40367)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> This isn't strictly necessary on the DUP since the type column is wider there, but this change will handle any future cases where we have an even longer type string without affecting current handling. No need for a cherry-pick. <img width="959" height="521" alt="Screenshot 2026-02-23 at 3 56 14 PM" src="https://github.com/user-attachments/assets/f8d9b4b2-ea52-4155-a875-992ba21b3221" /> - [x] QA'd all new/changed functionality manually
This commit is contained in:
@@ -11,6 +11,7 @@ import VulnerabilitiesCell from "pages/SoftwarePage/components/tables/Vulnerabil
|
||||
import VersionCell from "pages/SoftwarePage/components/tables/VersionCell";
|
||||
import { getVulnerabilities } from "pages/SoftwarePage/SoftwareTitles/SoftwareTable/helpers";
|
||||
import SoftwareNameCell from "components/TableContainer/DataTable/SoftwareNameCell";
|
||||
import TooltipTruncatedTextCell from "components/TableContainer/DataTable/TooltipTruncatedTextCell";
|
||||
|
||||
type ISoftwareTableConfig = Column<IHostSoftware>;
|
||||
type ITableHeaderProps = IHeaderProps<IHostSoftware>;
|
||||
@@ -72,7 +73,7 @@ export const generateSoftwareTableHeaders = (): ISoftwareTableConfig[] => {
|
||||
Cell: (cellProps: ITableStringCellProps) => {
|
||||
const { source, extension_for } = cellProps.row.original;
|
||||
const value = formatSoftwareType({ source, extension_for });
|
||||
return <TextCell value={value} />;
|
||||
return <TooltipTruncatedTextCell value={value} />;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user