From: Dessalines Date: Mon, 7 Aug 2023 16:53:21 +0000 (-0400) Subject: Fix comment insertion from context views. Fixes #2030 (#2031) X-Git-Url: http://these/git/ui/assets/static/readmes/README.ja.md?a=commitdiff_plain;h=ff62915ddfa2492ab3889d8465b530c1d57f59dd;p=lemmy-ui.git Fix comment insertion from context views. Fixes #2030 (#2031) --- diff --git a/src/shared/components/post/post.tsx b/src/shared/components/post/post.tsx index 49e7348..77fe780 100644 --- a/src/shared/components/post/post.tsx +++ b/src/shared/components/post/post.tsx @@ -389,15 +389,19 @@ export class Post extends Component { onMarkPostAsRead={this.handleMarkPostAsRead} />
- + + {/* Only show the top level comment form if its not a context view */} + {!this.state.commentId && ( + + )}