From 90c835fd4dd25c004b39c4df89f482e4ceedd7a4 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 3 Sep 2019 06:48:38 -0500 Subject: [PATCH] tidy ListDrawer render logic --- src/FilterLists.Web/src/components/listsTable/ListDrawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web/src/components/listsTable/ListDrawer.tsx b/src/FilterLists.Web/src/components/listsTable/ListDrawer.tsx index 3cb1ae641..cb2bf0c82 100644 --- a/src/FilterLists.Web/src/components/listsTable/ListDrawer.tsx +++ b/src/FilterLists.Web/src/components/listsTable/ListDrawer.tsx @@ -30,7 +30,7 @@ export const ListDrawer = (props: Props) => { syntax={list.syntaxId ? props.syntaxes.find(s => s.id === list.syntaxId) : undefined} tags={list.tagIds && props.tags.filter((t: Tag) => list.tagIds.includes(t.id))} {...rp} /> - : (props.lists && props.lists.length && ) || null; + : (props.lists && props.lists.length) ? : null; }; return ; }; \ No newline at end of file