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%60https:/%22https:/mastodon.uno/README.md?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 && (