diff options
Diffstat (limited to 'ui/src/components/post-listings.tsx')
-rw-r--r-- | ui/src/components/post-listings.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/components/post-listings.tsx b/ui/src/components/post-listings.tsx index 7a68a97b..80c9b1da 100644 --- a/ui/src/components/post-listings.tsx +++ b/ui/src/components/post-listings.tsx @@ -11,6 +11,8 @@ interface PostListingsProps { showCommunity?: boolean; removeDuplicates?: boolean; sort?: SortType; + enableDownvotes: boolean; + enableNsfw: boolean; } export class PostListings extends Component<PostListingsProps, any> { @@ -27,6 +29,8 @@ export class PostListings extends Component<PostListingsProps, any> { <PostListing post={post} showCommunity={this.props.showCommunity} + enableDownvotes={this.props.enableDownvotes} + enableNsfw={this.props.enableNsfw} /> <hr class="my-2" /> </> |