diff options
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r-- | ui/src/components/community.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index 32392ca1..e28c99bc 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -178,9 +178,17 @@ export class Community extends Component<any, State> { listings() { return this.state.dataType == DataType.Post ? ( - <PostListings posts={this.state.posts} removeDuplicates /> + <PostListings + posts={this.state.posts} + removeDuplicates + sort={this.state.sort} + /> ) : ( - <CommentNodes nodes={commentsToFlatNodes(this.state.comments)} noIndent /> + <CommentNodes + nodes={commentsToFlatNodes(this.state.comments)} + noIndent + sortType={this.state.sort} + /> ); } |