From 2cf117b3c559a56ef51855150fe2577b7bb8a0ca Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 22 Nov 2019 16:26:16 -0800 Subject: [PATCH] Hiding thumbnails for nsfw posts and nsfw community posts. - Fixes #337 --- ui/src/components/post-listing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 4d36ac283..94cd4d545 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 && (