remove status from group ui

This commit is contained in:
2458773093
2019-07-17 01:42:26 +03:00
parent caaa9253d6
commit 62b1707a85
5 changed files with 68 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ class GroupTimeline extends React.PureComponent {
const { columnId, group, relationships, account } = this.props;
const { id } = this.props.params;
if (typeof group === 'undefined') {
if (typeof group === 'undefined' || !relationships) {
return (
<Column>
<LoadingIndicator />
@@ -79,7 +79,7 @@ class GroupTimeline extends React.PureComponent {
return (
<div>
{relationships && relationships.get('member') && (
{relationships.get('member') && (
<div className='timeline-compose-block'>
<div className='timeline-compose-block__avatar'>
<Avatar account={account} size={46} />