mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Use Boolean() instead of assuming filter is based on truthiness
This commit is contained in:
parent
9b0df19149
commit
7a4c1994c3
@ -371,7 +371,7 @@ module.exports = React.createClass({
|
||||
return;
|
||||
}
|
||||
|
||||
return isRoomVisible[taggedRoom.roomId];
|
||||
return Boolean(isRoomVisible[taggedRoom.roomId]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user