feat: add moderation badge

This commit is contained in:
Paul
2021-11-13 23:11:40 +00:00
parent f467349083
commit 8664cda744
2 changed files with 11 additions and 1 deletions

2
external/lang vendored

View File

@@ -75,6 +75,16 @@ export default function UserBadges({ badges, uid }: Props) {
) : ( ) : (
<></> <></>
)} )}
{badges & Badges.PlatformModeration ? (
<Tooltip
content={
<Text id="app.special.popovers.user_profile.badges.moderation" />
}>
<img src="/assets/badges/moderation.svg" />
</Tooltip>
) : (
<></>
)}
{badges & Badges.ResponsibleDisclosure ? ( {badges & Badges.ResponsibleDisclosure ? (
<Tooltip <Tooltip
content={ content={