mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 15:39:25 +00:00
fix: Post expand button was not showing if body-only post
This commit is contained in:
parent
6a62d48257
commit
195e258a51
|
@ -501,8 +501,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
* 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 && (
|
||||
|
|
Loading…
Reference in a new issue