From 5cee53dc5ff50127d5802ddbc444a78a3a425f96 Mon Sep 17 00:00:00 2001 From: mrhid6 Date: Thu, 6 Aug 2026 15:51:18 +0100 Subject: [PATCH] feat: Better button description --- .../vulnerabilities/ServerVulnerabilities.tsx | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/web/components/vulnerabilities/ServerVulnerabilities.tsx b/web/components/vulnerabilities/ServerVulnerabilities.tsx index 1b31ddd..4ec8a33 100644 --- a/web/components/vulnerabilities/ServerVulnerabilities.tsx +++ b/web/components/vulnerabilities/ServerVulnerabilities.tsx @@ -43,7 +43,7 @@ export function ServerVulnerabilities({ serverId }: { serverId: string }) {

Vulnerabilities

@@ -52,18 +52,13 @@ export function ServerVulnerabilities({ serverId }: { serverId: string }) { {packages.isLoading || findings.isLoading ? (

Loading…

) : !pkg ? ( -

- No package inventory yet. Agents report hourly, and only when vulnerability scanning is included in this instance's - licence. -

+

No package inventory yet. Agents report hourly, and only when vulnerability scanning is included in this instance's licence.

) : pkg.status === "unsupported" ? ( <>

{pkg.os.family} {pkg.os.version_id} has no advisory feed, so this server cannot be scanned.

-

- This is not the same as having no vulnerabilities — it means we cannot answer the question for this distribution. -

+

This is not the same as having no vulnerabilities — it means we cannot answer the question for this distribution.

) : ( <> @@ -94,15 +89,11 @@ export function ServerVulnerabilities({ serverId }: { serverId: string }) { {f.package_name} {f.installed_version} - - {f.fixed_in ? `→ ${f.fixed_in}` : "no fix published"} - + {f.fixed_in ? `→ ${f.fixed_in}` : "no fix published"} ))} - {open.length > 10 && ( -
  • …and {open.length - 10} more on the fleet board.
  • - )} + {open.length > 10 &&
  • …and {open.length - 10} more on the fleet board.
  • } )}