diff --git a/src/components/views/rooms/AuxPanel.js b/src/components/views/rooms/AuxPanel.js index f52a3c52ab..e84629e89d 100644 --- a/src/components/views/rooms/AuxPanel.js +++ b/src/components/views/rooms/AuxPanel.js @@ -122,7 +122,9 @@ module.exports = React.createClass({ const severity = ev.getContent().severity || "normal"; const stateKey = ev.getStateKey(); - if (title && value && severity) { + // We want a non-empty title but can accept falsey values (e.g. + // zero) + if (title && value !== undefined) { counters.push({ "title": title, "value": value,