Skip to content

Commit

Permalink
Fix: #42 投稿数を隠す設定にしているアカウントの投稿数が、ディレクトリで0と表示される問題
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Oct 3, 2023
1 parent 31d2eb7 commit 5fc5a15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class AccountCard extends ImmutablePureComponent {
<div className='account-card__actions'>
<div className='account-card__counters'>
<div className='account-card__counters__item'>
<ShortNumber value={account.get('statuses_count')} />
<ShortNumber value={account.get('statuses_count')} isHide={account.getIn(['other_settings', 'hide_statuses_count']) || false} />
<small>
<FormattedMessage id='account.posts' defaultMessage='Posts' />
</small>
Expand Down

0 comments on commit 5fc5a15

Please sign in to comment.