don't show individual labels on own profile, only "have been placed..." (#4057)

zio/stable
Hailey 2024-05-16 13:22:04 -07:00 committed by GitHub
parent 3a8baba129
commit 5e5716c0a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -84,9 +84,10 @@ let ProfileHeaderShell = ({
<View
style={[a.px_lg, a.pb_sm]}
pointerEvents={isIOS ? 'auto' : 'box-none'}>
<ProfileHeaderAlerts moderation={moderation} />
{isMe && (
{isMe ? (
<LabelsOnMe details={{did: profile.did}} labels={profile.labels} />
) : (
<ProfileHeaderAlerts moderation={moderation} />
)}
</View>