mirror of https://github.com/vector-im/riot-web
Fixed ternary operation
parent
8ccc3f04c3
commit
a627ee7ef6
|
@ -1,2 +1,3 @@
|
|||
node_modules
|
||||
lib
|
||||
/nbproject/private/
|
|
@ -262,7 +262,7 @@ module.exports = React.createClass({
|
|||
// For now we'll pretend this is any entity. It should probably be a separate tile.
|
||||
var EntityTile = sdk.getComponent("rooms.EntityTile");
|
||||
var BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
||||
var text = "and " + overflowCount + " other" + (overflowCount > 1 : "s" : "") + "...";
|
||||
var text = "and " + overflowCount + " other" + (overflowCount > 1 ? "s" : "") + "...";
|
||||
return (
|
||||
<EntityTile className="mx_EntityTile_ellipsis" avatarJsx={
|
||||
<BaseAvatar url="img/ellipsis.svg" name="..." width={36} height={36} />
|
||||
|
|
Loading…
Reference in New Issue