From eab27c7964d6590d044df821b1ad119218d1840b 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 4d36ac2..94cd4d5 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 && (