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/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7BpictshareAvatarThumbnail%28?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 && ( + + )}