Fix featured posts and familiar followers showing up on hidden accounts (#34855)
This commit is contained in:
parent
426ee069b5
commit
71a4a92dda
2 changed files with 2 additions and 2 deletions
|
@ -912,7 +912,7 @@ export const AccountHeader: React.FC<{
|
|||
<div className='account__header__badges'>{badges}</div>
|
||||
)}
|
||||
|
||||
{account.id !== me && signedIn && (
|
||||
{account.id !== me && signedIn && !(suspended || hidden) && (
|
||||
<FamiliarFollowers accountId={accountId} />
|
||||
)}
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ class AccountTimeline extends ImmutablePureComponent {
|
|||
prepend={
|
||||
<>
|
||||
<AccountHeader accountId={this.props.accountId} hideTabs={forceEmptyState} tagged={this.props.params.tagged} />
|
||||
<FeaturedCarousel accountId={this.props.accountId} />
|
||||
{!forceEmptyState && <FeaturedCarousel accountId={this.props.accountId} />}
|
||||
</>
|
||||
}
|
||||
alwaysPrepend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue