From 30c2f7e5305b6a752c2ace8c62ffa602bb793f93 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 24 Aug 2018 14:57:24 -0500 Subject: [PATCH] only show non-zero rule count --- src/FilterLists.Web/ClientApp/components/ListDetails.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx index 98c219792..ae7676024 100644 --- a/src/FilterLists.Web/ClientApp/components/ListDetails.tsx +++ b/src/FilterLists.Web/ClientApp/components/ListDetails.tsx @@ -104,7 +104,7 @@ function Languages(props: any) { } function RuleCount(props: any) { - return props.count + return props.count > 0 ?
  • Rule Count: {props.count.toLocaleString()}