forked from abner/for-legacy-web
feat: add moderation badge
This commit is contained in:
1 parent
f467349083
commit
8664cda744
2 files changed
+11
-1
No files matched your search
Vendored
+1
-1
Submodule external/lang updated: 42e050b7df...40afd0527d.
@@ -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={
|
||||
|
||||
Reference in new issue
Block a user