Fix featured posts and familiar followers showing up on hidden accounts (#34855)
This commit is contained in:
1 parent
426ee069b5
commit
71a4a92dda
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user