On Host Details Policies page, removed callout box with a broken link. (#15854)

On Host Details Policies page, removed callout box with a broken link.
#15802

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Victor Lyuboslavsky 2024-01-03 15:12:57 -06:00 committed by GitHub
parent 3cc6556c4a
commit 0d74181757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 18 deletions

View file

@ -0,0 +1 @@
On Host Details Policies page, removed callout box with a broken link.

View file

@ -55,10 +55,6 @@ const Policies = ({
// Remove view all hosts link
tableHeaders.pop();
}
const noResponses: IHostPolicy[] =
policies.filter(
(policy: IHostPolicy) => !isValidPolicyResponse(policy.response)
) || [];
const failingResponses: IHostPolicy[] =
policies.filter((policy: IHostPolicy) => policy.response === "fail") || [];
@ -71,20 +67,6 @@ const Policies = ({
{failingResponses?.length > 0 && (
<PolicyFailingCount policyList={policies} deviceUser={deviceUser} />
)}
{noResponses?.length > 0 && !deviceUser && (
<InfoBanner>
<p>
This host is not updating the response for some policies. Check
out the Fleet documentation on&nbsp;
<CustomLink
url="https://fleetdm.com/docs/using-fleet/faq#why-is-my-host-not-updating-a-policys-response"
text="why the response might not be updating"
newTab
multiline
/>
</p>
</InfoBanner>
)}
<TableContainer
columnConfigs={tableHeaders}
data={generatePolicyDataSet(policies)}