[Glitch] Prevent account note from appearing on your own profile
Port 8a42689268c985a2687ad35735707cd498d0b708 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
56100254b7
commit
a434d73a08
@ -166,11 +166,13 @@ export const AccountHeader: React.FC<{
|
|||||||
{!suspendedOrHidden && (
|
{!suspendedOrHidden && (
|
||||||
<div className='account__header__extra'>
|
<div className='account__header__extra'>
|
||||||
<div className='account__header__bio'>
|
<div className='account__header__bio'>
|
||||||
{me && account.id !== me && isRedesignEnabled() ? (
|
{me &&
|
||||||
<AccountNoteRedesign accountId={accountId} />
|
account.id !== me &&
|
||||||
) : (
|
(isRedesignEnabled() ? (
|
||||||
<AccountNote accountId={accountId} />
|
<AccountNoteRedesign accountId={accountId} />
|
||||||
)}
|
) : (
|
||||||
|
<AccountNote accountId={accountId} />
|
||||||
|
))}
|
||||||
|
|
||||||
<AccountBio
|
<AccountBio
|
||||||
accountId={accountId}
|
accountId={accountId}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user