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

pull/21833/head
Luke Barnard 2018-02-12 18:35:13 +00:00
parent 9b0df19149
commit 7a4c1994c3
1 changed files with 1 additions and 1 deletions

View File

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