We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 749a666 commit 0ef318eCopy full SHA for 0ef318e
client/src/app/pages/sbom-details/packages-by-sbom.tsx
@@ -220,17 +220,12 @@ export const PackagesBySbom: React.FC<PackagesProps> = ({ sbomId }) => {
220
modifier="breakWord"
221
{...getTdProps({
222
columnKey: "licenses",
223
- isCompoundExpandToggle: item.licenses.length > 1,
+ isCompoundExpandToggle: item.licenses.length > 0,
224
item: item,
225
rowIndex,
226
})}
227
>
228
- {item.licenses.length === 1
229
- ? renderLicenseWithMappings(
230
- item.licenses[0].license_name,
231
- item.licenses_ref_mapping,
232
- )
233
- : `${item.licenses.length} Licenses`}
+ {item.licenses.length} Licenses
234
</Td>
235
<Td
236
width={20}
0 commit comments