summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-20 00:24:59 -0700
committerDessalines <tyhou13@gmx.com>2019-04-20 00:24:59 -0700
commite14e6e53cd969039087df17bc4407d1b7444e05d (patch)
tree117ee3fad0961ebf7459c780ad361ff315c36c63 /ui/src/components/post.tsx
parent9afadfb9c4c5db1796848ec4af9756fe03d51ee3 (diff)
More moderation fixed
Diffstat (limited to 'ui/src/components/post.tsx')
-rw-r--r--ui/src/components/post.tsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx
index 64f56d88..56b73f6e 100644
--- a/ui/src/components/post.tsx
+++ b/ui/src/components/post.tsx
@@ -82,7 +82,14 @@ export class Post extends Component<any, PostState> {
<h5><svg class="icon icon-spinner spin"><use xlinkHref="#icon-spinner"></use></svg></h5> :
<div class="row">
<div class="col-12 col-md-8 col-lg-7 mb-3">
- <PostListing post={this.state.post} showBody showCommunity editable />
+ <PostListing
+ post={this.state.post}
+ showBody
+ showCommunity
+ editable
+ moderators={this.state.moderators}
+ admins={this.state.admins}
+ />
<div className="mb-2" />
<CommentForm postId={this.state.post.id} disabled={this.state.post.locked} />
{this.sortRadios()}