parent
c65cae8570
commit
cbf8f82035
1 changed files with 3 additions and 3 deletions
|
@ -56,21 +56,21 @@ class UserPanel extends ImmutablePureComponent {
|
||||||
|
|
||||||
<div className='user-panel__stats-block'>
|
<div className='user-panel__stats-block'>
|
||||||
|
|
||||||
{account.get('statuses_count') && <div className='user-panel-stats-item'>
|
{account.get('statuses_count') >= 0 && <div className='user-panel-stats-item'>
|
||||||
<Link to={`/@${account.get('acct')}`} title={intl.formatNumber(account.get('statuses_count'))}>
|
<Link to={`/@${account.get('acct')}`} title={intl.formatNumber(account.get('statuses_count'))}>
|
||||||
<strong className='user-panel-stats-item__value'>{shortNumberFormat(account.get('statuses_count'))}</strong>
|
<strong className='user-panel-stats-item__value'>{shortNumberFormat(account.get('statuses_count'))}</strong>
|
||||||
<span className='user-panel-stats-item__label'><FormattedMessage className='user-panel-stats-item__label' id='account.posts' defaultMessage='Posts' /></span>
|
<span className='user-panel-stats-item__label'><FormattedMessage className='user-panel-stats-item__label' id='account.posts' defaultMessage='Posts' /></span>
|
||||||
</Link>
|
</Link>
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
{account.get('followers_count') && <div className='user-panel-stats-item'>
|
{account.get('followers_count') >= 0 && <div className='user-panel-stats-item'>
|
||||||
<Link to={`/@${account.get('acct')}/followers`} title={intl.formatNumber(account.get('followers_count'))}>
|
<Link to={`/@${account.get('acct')}/followers`} title={intl.formatNumber(account.get('followers_count'))}>
|
||||||
<strong className='user-panel-stats-item__value'>{shortNumberFormat(account.get('followers_count'))}</strong>
|
<strong className='user-panel-stats-item__value'>{shortNumberFormat(account.get('followers_count'))}</strong>
|
||||||
<span className='user-panel-stats-item__label'><FormattedMessage id='account.followers' defaultMessage='Followers' /></span>
|
<span className='user-panel-stats-item__label'><FormattedMessage id='account.followers' defaultMessage='Followers' /></span>
|
||||||
</Link>
|
</Link>
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
{account.get('following_count') && <div className='user-panel-stats-item'>
|
{account.get('following_count') >= 0 && <div className='user-panel-stats-item'>
|
||||||
<Link to={`/@${account.get('acct')}/following`} title={intl.formatNumber(account.get('following_count'))}>
|
<Link to={`/@${account.get('acct')}/following`} title={intl.formatNumber(account.get('following_count'))}>
|
||||||
<strong className='user-panel-stats-item__value'>{shortNumberFormat(account.get('following_count'))}</strong>
|
<strong className='user-panel-stats-item__value'>{shortNumberFormat(account.get('following_count'))}</strong>
|
||||||
<span className='user-panel-stats-item__label'><FormattedMessage className='user-panel-stats-item__label' id='account.follows' defaultMessage='Follows' /></span>
|
<span className='user-panel-stats-item__label'><FormattedMessage className='user-panel-stats-item__label' id='account.follows' defaultMessage='Follows' /></span>
|
||||||
|
|
Loading…
Reference in a new issue