mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00: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