Fix initial in GroupAvatar in GroupView
This commit is contained in:
parent
580d8dce19
commit
14d600a69f
2 changed files with 5 additions and 1 deletions
|
@ -24,6 +24,7 @@ export default React.createClass({
|
|||
|
||||
propTypes: {
|
||||
groupId: PropTypes.string,
|
||||
groupName: PropTypes.string,
|
||||
groupAvatarUrl: PropTypes.string,
|
||||
width: PropTypes.number,
|
||||
height: PropTypes.number,
|
||||
|
@ -57,7 +58,7 @@ export default React.createClass({
|
|||
|
||||
return (
|
||||
<BaseAvatar
|
||||
name={this.props.groupId[1]}
|
||||
name={this.props.groupName || this.props.groupId[1]}
|
||||
idName={this.props.groupId}
|
||||
url={this.getGroupAvatarUrl()}
|
||||
{...otherProps}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue