mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
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:
parent
3cc6556c4a
commit
0d74181757
2 changed files with 1 additions and 18 deletions
1
changes/15802-remove-not-updating-policies-callout
Normal file
1
changes/15802-remove-not-updating-policies-callout
Normal file
|
|
@ -0,0 +1 @@
|
|||
On Host Details Policies page, removed callout box with a broken link.
|
||||
|
|
@ -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
|
||||
<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)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue