mirror of https://github.com/vector-im/riot-web
Use Boolean() instead of assuming filter is based on truthiness
parent
9b0df19149
commit
7a4c1994c3
|
@ -371,7 +371,7 @@ module.exports = React.createClass({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return isRoomVisible[taggedRoom.roomId];
|
return Boolean(isRoomVisible[taggedRoom.roomId]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue