From 0d741817575976c0d5f488e6aa42b5212f6feed5 Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Wed, 3 Jan 2024 15:12:57 -0600 Subject: [PATCH] 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. - [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 --- .../15802-remove-not-updating-policies-callout | 1 + .../hosts/details/cards/Policies/Policies.tsx | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) create mode 100644 changes/15802-remove-not-updating-policies-callout diff --git a/changes/15802-remove-not-updating-policies-callout b/changes/15802-remove-not-updating-policies-callout new file mode 100644 index 0000000000..5b417697d8 --- /dev/null +++ b/changes/15802-remove-not-updating-policies-callout @@ -0,0 +1 @@ +On Host Details Policies page, removed callout box with a broken link. \ No newline at end of file diff --git a/frontend/pages/hosts/details/cards/Policies/Policies.tsx b/frontend/pages/hosts/details/cards/Policies/Policies.tsx index 993e5e0e22..771dd7ebcd 100644 --- a/frontend/pages/hosts/details/cards/Policies/Policies.tsx +++ b/frontend/pages/hosts/details/cards/Policies/Policies.tsx @@ -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 && ( )} - {noResponses?.length > 0 && !deviceUser && ( - -

- This host is not updating the response for some policies. Check - out the Fleet documentation on  - -

-
- )}