mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 08:47:19 +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.
|
* body by the parent component, show the MetadataCard/body toggle.
|
||||||
*/}
|
*/}
|
||||||
{!this.props.showBody &&
|
{!this.props.showBody &&
|
||||||
post.url &&
|
((post.url && post.embed_title) || post.body) &&
|
||||||
post.embed_title &&
|
|
||||||
this.showPreviewButton()}
|
this.showPreviewButton()}
|
||||||
|
|
||||||
{post.removed && (
|
{post.removed && (
|
||||||
|
|
Loading…
Reference in a new issue