Use Boolean() instead of assuming filter is based on truthiness

This commit is contained in:
Luke Barnard 2018-02-12 18:35:13 +00:00
parent 9b0df19149
commit 7a4c1994c3

View file

@ -371,7 +371,7 @@ module.exports = React.createClass({
return; return;
} }
return isRoomVisible[taggedRoom.roomId]; return Boolean(isRoomVisible[taggedRoom.roomId]);
}); });
}); });