only show non-zero rule count

This commit is contained in:
Collin M. Barrett 2018-08-24 14:57:24 -05:00
parent 593d3ed39b
commit 30c2f7e530

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>