[Glitch] Fix featured posts and familiar followers showing up on hidden accounts
Port 71a4a92ddad876c42430baed3a0f3ae1983e6f26 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
c00e27aa55
commit
4693aab179
@ -916,7 +916,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} />
|
||||
)}
|
||||
|
||||
|
||||
@ -174,7 +174,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…
x
Reference in New Issue
Block a user