Fix title of group timeline
This commit is contained in:
parent
d9649ad1f7
commit
23732db79f
1 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,8 @@ class GroupTimeline extends React.PureComponent {
|
|||
</button>
|
||||
);
|
||||
|
||||
const title = account.get('username', intl.formatMessage(messages.title))
|
||||
const displayName = account.get('display_name')
|
||||
const title = displayName.length === 0 ? account.get('acct').split('@')[0] : displayName
|
||||
|
||||
const groupDetail = (
|
||||
<div className={collapsibleClassName} tabIndex={collapsed ? -1 : null} onTransitionEnd={this.handleTransitionEnd}>
|
||||
|
|
Loading…
Reference in a new issue