From b5978452a54a90f52ebab159069f3e013f8c63c5 Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Wed, 25 Nov 2020 10:46:43 +0000 Subject: [PATCH] removing 0 from sync lists --- .../components/job_spaces_sync/sync_list.tsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx b/x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx index 6c7bd9cde66a8..573842c2f35e7 100644 --- a/x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx +++ b/x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx @@ -168,13 +168,11 @@ const SyncItem: FC<{ id: string; title: JSX.Element; items: string[] }> = ({ }) => ( - {items.length && ( -
    - {items.map((item) => ( -
  • {item}
  • - ))} -
- )} +
    + {items.map((item) => ( +
  • {item}
  • + ))} +
);