diff --git a/js/page/discover.js b/js/page/discover.js index f533a3afb..70bbd2e49 100644 --- a/js/page/discover.js +++ b/js/page/discover.js @@ -122,9 +122,11 @@ var SearchResultRow = React.createClass({
- - - + {'cost' in this.props + ? + + + : null}
lbry://{this.props.name}

@@ -173,7 +175,7 @@ var FeaturedContentItem = React.createClass({ return { metadata: null, title: null, - amount: 0.0, + cost: null, overlayShowing: false, }; }, @@ -206,10 +208,11 @@ var FeaturedContentItem = React.createClass({ return null; } + const costProp = this.state.cost === null ? {} : {cost: this.state.cost} return (
+ nsfw={this.state.metadata.nsfw} compact {... costProp} />
); } });