You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
Use Boolean() instead of assuming filter is based on truthiness
This commit is contained in:
@@ -371,7 +371,7 @@ module.exports = React.createClass({
|
||||
return;
|
||||
}
|
||||
|
||||
return isRoomVisible[taggedRoom.roomId];
|
||||
return Boolean(isRoomVisible[taggedRoom.roomId]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user