diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-07 14:45:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 14:45:50 -0800 |
commit | 52a0cb8faccd0df8250b4b084005d2fd6d12a9ad (patch) | |
tree | 5e15893fc9296d8b3b9ba99ff689143a68f03e2c /src/view/com/profile/ProfileHeader.tsx | |
parent | 794015aef88b4488e9803e76908c00fdb53b0df2 (diff) | |
download | voidsky-52a0cb8faccd0df8250b4b084005d2fd6d12a9ad.tar.zst |
Add label appeal tool to posts and accounts (#2124)
* Add label appeal tool to posts and accounts * Fix translations
Diffstat (limited to 'src/view/com/profile/ProfileHeader.tsx')
-rw-r--r-- | src/view/com/profile/ProfileHeader.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index e006cac7d..6975e3964 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -54,6 +54,7 @@ import {logger} from '#/logger' import {useSession} from '#/state/session' import {Shadow} from '#/state/cache/types' import {useRequireAuth} from '#/state/session' +import {LabelInfo} from '../util/moderation/LabelInfo' interface Props { profile: Shadow<AppBskyActorDefs.ProfileViewDetailed> | null @@ -619,6 +620,9 @@ let ProfileHeaderLoaded = ({ </> )} <ProfileHeaderAlerts moderation={moderation} /> + {isMe && ( + <LabelInfo details={{did: profile.did}} labels={profile.labels} /> + )} </View> {!isProfilePreview && showSuggestedFollows && ( |