mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 16:40:58 -05:00
feat: add moderation badge
This commit is contained in:
parent
f467349083
commit
8664cda744
2 changed files with 11 additions and 1 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 42e050b7dff9e9b8a4207b78bb8a7d8dbae9a92c
|
Subproject commit 40afd0527defb106142c50b979bbfc6283e9e48d
|
|
@ -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={
|
||||||
|
|
Loading…
Reference in a new issue