From 1f0439baddebcae2b1d043dc62dd2f180fe72b12 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 20 Mar 2020 22:24:27 -0400 Subject: [PATCH] Adding showContext for comments to more places by default. --- ui/src/components/community.tsx | 1 + ui/src/components/main.tsx | 1 + ui/src/components/post.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index 4e8e9d1b6..a921de2c1 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -189,6 +189,7 @@ export class Community extends Component { nodes={commentsToFlatNodes(this.state.comments)} noIndent sortType={this.state.sort} + showContext /> ); } diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index 51b31ced9..380033127 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -423,6 +423,7 @@ export class Main extends Component { noIndent showCommunity sortType={this.state.sort} + showContext /> ); } diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx index 518f07c25..f51ba6ff9 100644 --- a/ui/src/components/post.tsx +++ b/ui/src/components/post.tsx @@ -276,6 +276,7 @@ export class Post extends Component { moderators={this.state.moderators} admins={this.state.admins} postCreatorId={this.state.post.creator_id} + showContext />