From 399fb5c7c8abc261259ff79999d12368515b6c80 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Sun, 21 Aug 2016 01:02:33 -0400 Subject: [PATCH] Filter NSFW featured content on Discover page --- js/page/discover.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/page/discover.js b/js/page/discover.js index b2b189f70..88e4021d4 100644 --- a/js/page/discover.js +++ b/js/page/discover.js @@ -152,8 +152,8 @@ var FeaturedContentItem = React.createClass({ }, render: function() { - if (this.state.metadata == null) { - // Still waiting for metadata + if (this.state.metadata == null || this.state.metadata.nsfw) { + // Still waiting for metadata, or item is NSFW return null; }