]> Untitled Git - lemmy.git/commitdiff
Adding showContext for comments to more places by default.
authorDessalines <tyhou13@gmx.com>
Sat, 21 Mar 2020 02:24:27 +0000 (22:24 -0400)
committerDessalines <tyhou13@gmx.com>
Sat, 21 Mar 2020 02:24:27 +0000 (22:24 -0400)
ui/src/components/community.tsx
ui/src/components/main.tsx
ui/src/components/post.tsx

index 4e8e9d1b63279a13ce5da0ae0b40b051c946ff0d..a921de2c130fb258fb3ac7029cdb8341aad08652 100644 (file)
@@ -189,6 +189,7 @@ export class Community extends Component<any, State> {
         nodes={commentsToFlatNodes(this.state.comments)}
         noIndent
         sortType={this.state.sort}
+        showContext
       />
     );
   }
index 51b31ced9dcd7e6aa23353125967dd61154dee41..38003312768168618cf7c4cf10ecd0a3c2fa9ed0 100644 (file)
@@ -423,6 +423,7 @@ export class Main extends Component<any, MainState> {
         noIndent
         showCommunity
         sortType={this.state.sort}
+        showContext
       />
     );
   }
index 518f07c2567d5877fd4b2abe6ac303b61c5d13ea..f51ba6ff91c62b6ef24578c22ded673360b28637 100644 (file)
@@ -276,6 +276,7 @@ export class Post extends Component<any, PostState> {
             moderators={this.state.moderators}
             admins={this.state.admins}
             postCreatorId={this.state.post.creator_id}
+            showContext
           />
         </div>
       </div>