Update Hosts page (#15465)

- Use "hosts" instead of "devices" in copy on **Hosts** page
This commit is contained in:
Noah Talerman 2023-12-06 09:52:28 -05:00 committed by GitHub
parent f19dc8abe0
commit d0cfc65786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1367,9 +1367,9 @@ const ManageHostsPage = ({
const emptyState = () => {
const emptyHosts: IEmptyTableProps = {
graphicName: "empty-hosts",
header: "Devices will show up here once theyre added to Fleet.",
header: "Hosts will show up here once theyre added to Fleet.",
info:
"Expecting to see devices? Try again in a few seconds as the system catches up.",
"Expecting to see hosts? Try again in a few seconds as the system catches up.",
};
if (includesFilterQueryParam) {
delete emptyHosts.graphicName;
@ -1377,8 +1377,8 @@ const ManageHostsPage = ({
emptyHosts.info =
"Expecting to see new hosts? Try again in a few seconds as the system catches up.";
} else if (canEnrollHosts) {
emptyHosts.header = "Add your devices to Fleet";
emptyHosts.info = "Generate an installer to add your own devices.";
emptyHosts.header = "Add your hosts to Fleet";
emptyHosts.info = "Generate an installer to add your own hosts.";
emptyHosts.primaryButton = (
<Button variant="brand" onClick={toggleAddHostsModal} type="button">
Add hosts