Skip to content

Commit

Permalink
fix: use appropriate id to navigate from sbom-packages to package det…
Browse files Browse the repository at this point in the history
…ails (#140)
  • Loading branch information
carlosthe19916 authored Aug 22, 2024
1 parent 084ac07 commit 9e40ecd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/app/pages/sbom-details/packages-by-sbom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ export const PackageExpandedArea: React.FC<PackageExpandedAreaProps> = ({
modifier="truncate"
{...getTdProps({ columnKey: "name" })}
>
<NavLink
to={`/packages/${encodeURIComponent(item.purl)}`}
>
<NavLink to={`/packages/${item.uuid}`}>
{item.name}
</NavLink>
</Td>
Expand Down

0 comments on commit 9e40ecd

Please sign in to comment.