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

@ -1 +1 @@
Subproject commit 42e050b7dff9e9b8a4207b78bb8a7d8dbae9a92c
Subproject commit 40afd0527defb106142c50b979bbfc6283e9e48d

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 ? (
<Tooltip
content={