From 195e258a51b7ef6e61fcad3244e4060136dd56f1 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 2 Jul 2023 11:23:42 -0400 Subject: [PATCH] fix: Post expand button was not showing if body-only post --- src/shared/components/post/post-listing.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 && ( -- 2.44.1