mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
Hiding thumbnails for nsfw posts and nsfw community posts.
- Fixes #337
This commit is contained in:
parent
e5f059b505
commit
eab27c7964
1 changed files with 1 additions and 1 deletions
2
ui/src/components/post-listing.tsx
vendored
2
ui/src/components/post-listing.tsx
vendored
|
@ -125,7 +125,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{post.url && isImage(post.url) && (
|
{post.url && isImage(post.url) && !post.nsfw && !post.community_nsfw && (
|
||||||
<span
|
<span
|
||||||
title={i18n.t('expand_here')}
|
title={i18n.t('expand_here')}
|
||||||
class="pointer"
|
class="pointer"
|
||||||
|
|
Loading…
Reference in a new issue