Handle bad recent matches

This commit is contained in:
Jonathan Cremin 2015-01-07 00:14:22 +00:00
parent 2d029f1a0f
commit 211949c648
2 changed files with 4 additions and 1 deletions

View file

@ -138,7 +138,7 @@ h3 {
margin-bottom: 10px;
}
.not-found {
opacity: 0.5;
opacity: 0.3;
}
.loading {
position: absolute;

View file

@ -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>