mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
fix: Update comment to reflect new logic
This commit is contained in:
parent
195e258a51
commit
868601fa58
1 changed files with 3 additions and 2 deletions
|
@ -497,8 +497,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
</h5>
|
||||
|
||||
{/**
|
||||
* If there is a URL, an embed title, and we were not told to show the
|
||||
* body by the parent component, show the MetadataCard/body toggle.
|
||||
* If there is (a) a URL and an embed title, or (b) a post body, and
|
||||
* we were not told to show the body by the parent component, show the
|
||||
* MetadataCard/body toggle.
|
||||
*/}
|
||||
{!this.props.showBody &&
|
||||
((post.url && post.embed_title) || post.body) &&
|
||||
|
|
Loading…
Reference in a new issue