Add label appeal tool to posts and accounts (#2124)

* Add label appeal tool to posts and accounts

* Fix translations
This commit is contained in:
Paul Frazee
2023-12-07 14:45:50 -08:00
committed by GitHub
parent 794015aef8
commit 52a0cb8fac
12 changed files with 846 additions and 380 deletions
+4
View File
@@ -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 && (