only show non-zero rule count

This commit is contained in:
Collin M. Barrett 2018-08-24 14:57:24 -05:00
parent bac92c183d
commit 811bd5a19d

View file

@ -104,7 +104,7 @@ function Languages(props: any) {
}
function RuleCount(props: any) {
return props.count
return props.count > 0
? <li className="list-group-item">
<p>Rule Count: {props.count.toLocaleString()}</p>
</li>