Skip to content

Commit

Permalink
removing 0 from sync lists
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Nov 25, 2020
1 parent 07fb614 commit b597845
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,11 @@ const SyncItem: FC<{ id: string; title: JSX.Element; items: string[] }> = ({
}) => (
<EuiAccordion id={id} buttonContent={title} paddingSize="l">
<EuiText size="s">
{items.length && (
<ul>
{items.map((item) => (
<li key={item}>{item}</li>
))}
</ul>
)}
<ul>
{items.map((item) => (
<li key={item}>{item}</li>
))}
</ul>
</EuiText>
</EuiAccordion>
);

0 comments on commit b597845

Please sign in to comment.