mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
feat: add moderation badge
This commit is contained in:
@@ -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