Skip to content

Commit

Permalink
adjust front end again
Browse files Browse the repository at this point in the history
adjust front end again
  • Loading branch information
DJensen94 committed Oct 3, 2024
1 parent 3707c93 commit 38fa3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Vulnerabilities/Vulnerabilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const Vulnerabilities: React.FC<{ groupBy?: string }> = ({
product: vuln.cpe
? vuln.cpe
: (vuln.service && vuln.service.products && vuln.service.products.length > 0 && vuln.service.products[0].cpe)

Check failure on line 287 in frontend/src/pages/Vulnerabilities/Vulnerabilities.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `(vuln.service·&&·vuln.service.products·&&·vuln.service.products.length·>·0·&&·vuln.service.products[0].cpe)` with `vuln.service·&&⏎········vuln.service.products·&&⏎········vuln.service.products.length·>·0·&&⏎········vuln.service.products[0].cpe`
? (vuln.service.products[0].cpe)
? (vuln.service.products[0].cpe || 'N/A')

Check failure on line 288 in frontend/src/pages/Vulnerabilities/Vulnerabilities.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `(vuln.service.products[0].cpe·||·'N/A')` with `vuln.service.products[0].cpe·||·'N/A'`
: 'N/A',
createdAt: vuln?.createdAt
? `${differenceInCalendarDays(
Expand Down

0 comments on commit 38fa3ce

Please sign in to comment.