Add label appeal tool to posts and accounts (#2124)
* Add label appeal tool to posts and accounts * Fix translations
This commit is contained in:
parent
794015aef8
commit
52a0cb8fac
12 changed files with 846 additions and 380 deletions
|
@ -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 && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue