Update no-hosts empty states copy (#16943)

Simple copy updates per
https://github.com/fleetdm/fleet/pull/16908#discussion_r1493009227

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling 2024-02-16 14:22:01 -08:00 committed by GitHub
parent 5ec1c2c4bf
commit 443ec3c622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -173,7 +173,7 @@ const SoftwareOSDetailsPage = ({
{osVersionDetails.hosts_count === 0 ? (
<DetailsNoHosts
header="OS not detected"
details={`No host ${teamIdForApi ? "on this team " : ""}has ${
details={`No hosts ${teamIdForApi ? "on this team " : ""}have ${
osVersionDetails.name
} installed.`}
/>

View file

@ -120,7 +120,7 @@ const SoftwareTitleDetailsPage = ({
{softwareTitle.hosts_count === 0 ? (
<DetailsNoHosts
header="Software not detected"
details={`No host ${teamIdForApi ? "on this team " : ""}has ${
details={`No hosts ${teamIdForApi ? "on this team " : ""}have ${
softwareTitle.name
} installed.`}
/>

View file

@ -141,9 +141,9 @@ const SoftwareVersionDetailsPage = ({
{softwareVersion.hosts_count === 0 ? (
<DetailsNoHosts
header="Software not detected"
details={`No host ${
details={`No hosts ${
teamIdForApi ? "on this team " : ""
}has this software installed.`}
}have this software installed.`}
/>
) : (
<Card

View file

@ -98,9 +98,9 @@ const SoftwareVulnerabilityDetailsPage = ({
return (
<DetailsNoHosts
header="Vulnerability not detected"
details={`No host ${
details={`No hosts ${
teamIdForApi ? "on this team " : ""
}is affected by ${vuln.cve}.`}
}are affected by ${vuln.cve}.`}
/>
);
}