Skip to content

Commit

Permalink
Removed legacy link from See Details button
Browse files Browse the repository at this point in the history
- Removed legacy link from See Details button.
  • Loading branch information
hawkishpolicy committed Sep 13, 2024
1 parent 320d1e1 commit fb2790c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/pages/Risk/VulnerabilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ const VulnerabilityCard = (props: {
) => history.push(filteredVulnTableLink, { title: title });

const vulnerabilityGridContent = data.slice(0, 10).map((vuln) => {
const filteredVulnTableLink =
'/inventory/vulnerabilities?sort=createdAt&desc=false';
const filteredVulnTableLink = '/inventory/vulnerabilities';
const ariaLabel = `Details link to the vulnerabilities table filtered to ${vuln.title}.`;
const onRowKeyDown = (event: React.KeyboardEvent) => {
if (event.key === 'Enter' || event.key === ' ') {
Expand Down

0 comments on commit fb2790c

Please sign in to comment.