diff --git a/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.tsx b/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.tsx index 9cdcb0355c..a635ceb3e7 100644 --- a/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.tsx +++ b/frontend/pages/hosts/HostDetailsPage/HostDetailsPage.tsx @@ -654,24 +654,39 @@ const HostDetailsPage = ({ }; const renderPolicies = () => { + if (!host?.policies?.length) { + return ( +
Policies
++ Expecting to see policies? Try selecting “Refetch” to ask this + host to report new vitals. +
+Policies
- {host?.policies.length && ( + {host?.policies?.length && ( <> - {failingResponses.length > 0 && ( + {failingResponses?.length > 0 && (
This host is not updating the response for some policies.
@@ -1138,7 +1153,7 @@ const HostDetailsPage = ({
{renderSchedule()}
{renderPacks()}
-