From: Jay Sitter Date: Sun, 2 Jul 2023 23:54:03 +0000 (-0400) Subject: Merge branch 'main' into fix/h1-page-titles X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7Biframely.url%7D?a=commitdiff_plain;h=7b34022e0d734716766d4c384918da38045e4a1f;p=lemmy-ui.git Merge branch 'main' into fix/h1-page-titles --- 7b34022e0d734716766d4c384918da38045e4a1f diff --cc src/shared/components/post/post-listing.tsx index 8e792ec,654f92d..3f55ceb --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@@ -494,15 -494,15 +494,15 @@@ export class PostListing extends Compon ) : ( this.postLink )} - + {/** - * 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.url && post.embed_title) || post.body) && this.showPreviewButton()} {post.removed && (