Handle bad recent matches
This commit is contained in:
parent
2d029f1a0f
commit
211949c648
2 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,9 @@ var Recent = React.createClass({
|
|||
var RecentItem = React.createClass({
|
||||
|
||||
render: function() {
|
||||
if (!this.props.item.artwork) {
|
||||
return false;
|
||||
}
|
||||
return (
|
||||
<div className="col-sm-4 col-xs-6">
|
||||
<Link to="share" params={this.props.item}><img src={this.props.item.artwork.small} width="100%" /></Link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue