From: Dessalines Date: Sat, 23 Nov 2019 00:26:16 +0000 (-0800) Subject: Hiding thumbnails for nsfw posts and nsfw community posts. X-Git-Url: http://these/git/%7B%60/feeds/%7B%60%24%7BwebArchiveUrl%7D/save/static/git-favicon.png?a=commitdiff_plain;h=2cf117b3c559a56ef51855150fe2577b7bb8a0ca;p=lemmy.git Hiding thumbnails for nsfw posts and nsfw community posts. - Fixes #337 --- diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 4d36ac28..94cd4d54 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -125,7 +125,7 @@ export class PostListing extends Component { - {post.url && isImage(post.url) && ( + {post.url && isImage(post.url) && !post.nsfw && !post.community_nsfw && (