projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195e258
)
fix: Update comment to reflect new logic
author
Jay Sitter
<jay@jaysitter.com>
Sun, 2 Jul 2023 15:26:44 +0000
(11:26 -0400)
committer
Jay Sitter
<jay@jaysitter.com>
Sun, 2 Jul 2023 15:26:44 +0000
(11:26 -0400)
src/shared/components/post/post-listing.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/post/post-listing.tsx
b/src/shared/components/post/post-listing.tsx
index 309d6cd70d3c0b832dbb347ac0b8bbec517df5ff..efa4ed2144b959cfa2638635972b23f4c7435096 100644
(file)
--- a/
src/shared/components/post/post-listing.tsx
+++ b/
src/shared/components/post/post-listing.tsx
@@
-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) &&