mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2025-01-11 04:25:50 +00:00
Merge branch 'main' into fix/fix-badges-spacing-componentize
This commit is contained in:
commit
4e1e29b9a5
1 changed files with 4 additions and 4 deletions
|
@ -485,12 +485,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
{/**
|
{/**
|
||||||
* If there is a URL, an embed title, and we were not told to show the
|
* If there is (a) a URL and an embed title, or (b) a post body, and
|
||||||
* body by the parent component, show the MetadataCard/body toggle.
|
* we were not told to show the 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