From: Jay Sitter Date: Sun, 2 Jul 2023 15:23:42 +0000 (-0400) Subject: fix: Post expand button was not showing if body-only post X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/hacktivis.me/%7BinboxRss%7D?a=commitdiff_plain;h=195e258a51b7ef6e61fcad3244e4060136dd56f1;p=lemmy-ui.git fix: Post expand button was not showing if body-only post --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 5c562a4..309d6cd 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -501,8 +501,7 @@ export class PostListing extends Component { * 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 && (