feat: add admin and moderator badges to posts and comments
This commit is contained in:
1 parent
3f5c49d4c4
commit
3c74cfe4e6
7 files changed
+85
-36
No files matched your search
@@ -21,11 +21,18 @@
|
||||
>
|
||||
<div class="flex flex-row justify-between items-center">
|
||||
<PostMeta
|
||||
deleted={false}
|
||||
featured={false}
|
||||
nsfw={comment.post.nsfw}
|
||||
badges={{
|
||||
nsfw: comment.post.nsfw,
|
||||
removed: comment.post.removed,
|
||||
admin: false,
|
||||
moderator: false,
|
||||
saved: false,
|
||||
deleted: comment.post.deleted,
|
||||
featured:
|
||||
comment.post.featured_community || comment.post.featured_local,
|
||||
locked: comment.post.locked,
|
||||
}}
|
||||
published={publishedToDate(comment.comment.published)}
|
||||
saved={false}
|
||||
community={community ? comment.community : undefined}
|
||||
/>
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user