Include full CVE in description when no hosts are affected (#31370)

Closes #31377 
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.
## Testing

- [x] QA'd all new/changed functionality manually
This commit is contained in:
Dhruv Trivedi 2025-08-02 20:15:19 +05:30 committed by GitHub
parent 2fd248c77a
commit 39097df51f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,7 +141,7 @@ const SoftwareVulnerabilityDetailsPage = ({
{isVulnError || !vuln ? (
<DetailsNoHosts
header="Vulnerability not detected"
details="No hosts are affected by this CVE."
details={`No hosts are affected by ${routeParams.cve}.`}
/>
) : (
renderCards(vuln)