From 5cae54078827b4d0ff393021e5397693d337d383 Mon Sep 17 00:00:00 2001 From: Bohdan Tsymbala Date: Wed, 8 Jul 2020 19:01:37 +0200 Subject: [PATCH] Fixing the consistency of util bar in endpoints and policies pages. --- .../management/pages/policy/view/policy_list.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_list.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_list.tsx index 447a70ef998a9..7ab850b52d493 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_list.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_list.tsx @@ -22,6 +22,7 @@ import { EuiCallOut, EuiSpacer, EuiButton, + EuiHorizontalRule, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -406,19 +407,19 @@ export const PolicyList = React.memo(() => { /> } - bodyHeader={ - policyItems && - policyItems.length > 0 && ( - + > + {policyItems && policyItems.length > 0 && ( + <> + - ) - } - > + + + )} {useMemo(() => { return ( <>