Prevent account note from appearing on your own profile (#37653)
This commit is contained in:
parent
9079a75574
commit
8a42689268
@ -162,11 +162,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