From 40d0933b5790323c4e65b0ad9edbbf6014805d33 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 4e8e9d1b..a921de2c 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 51b31ced..38003312 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 518f07c2..f51ba6ff 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 />