Filter NSFW featured content on Discover page
This commit is contained in:
parent
124b2b9a18
commit
399fb5c7c8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue