From: Jay Sitter Date: Sun, 2 Jul 2023 15:26:44 +0000 (-0400) Subject: fix: Update comment to reflect new logic X-Git-Url: http://these/git/%7BsortingHelpUrl%7D?a=commitdiff_plain;h=868601fa580e798e75ac82671ad56376943c4368;p=lemmy-ui.git fix: Update comment to reflect new logic --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 309d6cd..efa4ed2 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -497,8 +497,9 @@ export class PostListing extends Component { {/** - * If there is a URL, an embed title, and we were not told to show the - * body by the parent component, show the MetadataCard/body toggle. + * If there is (a) a URL and an embed title, or (b) a post body, and + * we were not told to show the body by the parent component, show the + * MetadataCard/body toggle. */} {!this.props.showBody && ((post.url && post.embed_title) || post.body) &&