Fix simple header counters to correctly handle zero, take two
parent
03d60e6af2
commit
1a35130869
|
@ -213,7 +213,6 @@ module.exports = React.createClass({
|
|||
const severity = counter.severity;
|
||||
const stateKey = counter.stateKey;
|
||||
|
||||
if (title && value && severity) {
|
||||
let span = <span>{ title }: { value }</span>
|
||||
|
||||
if (link) {
|
||||
|
@ -241,7 +240,6 @@ module.exports = React.createClass({
|
|||
key={"delim" + idx}
|
||||
> ─ </span>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
if (counters.length > 0) {
|
||||
|
|
Loading…
Reference in New Issue