diff options
author | Dessalines <tyhou13@gmx.com> | 2020-07-08 01:02:14 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-07-08 01:02:14 -0400 |
commit | cd4e0ab3c2cfd615e4771fb9181a31ce237b5ceb (patch) | |
tree | 699dd63cd3ad7601e49a1173884506e3638ae37a /ui/src/components/post-listings.tsx | |
parent | 8fda7d00d5ec9e415b44aa10cff3c4d735563a20 (diff) |
HTML title bugs.
- Fixing HTML titles for some pages. Fixes #801
- Removing WebSocketService.Instance.site, fetching site on demand now.
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" /> </> |