mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
Fixed ternary operation
This commit is contained in:
parent
8ccc3f04c3
commit
a627ee7ef6
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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 a new issue