Indicate admins in the group member list with a sheriff badge
This commit is contained in:
parent
3fd5937687
commit
d6a6e59d6c
4 changed files with 29 additions and 13 deletions
|
@ -61,9 +61,9 @@ export default withMatrixClient(React.createClass({
|
|||
);
|
||||
|
||||
return (
|
||||
<EntityTile presenceState="online"
|
||||
avatarJsx={av} onClick={this.onClick}
|
||||
name={name} powerLevel={0} suppressOnHover={true}
|
||||
<EntityTile name={name} avatarJsx={av} onClick={this.onClick}
|
||||
suppressOnHover={true} presenceState="online"
|
||||
powerStatus={this.props.member.isAdmin ? EntityTile.POWER_STATUS_ADMIN : null}
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue