You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +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;
|
||||||
}
|
}
|
||||||
|
|
||||||
return isRoomVisible[taggedRoom.roomId];
|
return Boolean(isRoomVisible[taggedRoom.roomId]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user