Use Boolean() instead of assuming filter is based on truthiness
This commit is contained in:
parent
9b0df19149
commit
7a4c1994c3
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ module.exports = React.createClass({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return isRoomVisible[taggedRoom.roomId];
|
return Boolean(isRoomVisible[taggedRoom.roomId]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue