hide abandonded claims

This commit is contained in:
Sean Yesmunt 2018-12-07 11:40:42 -05:00
parent 062761d850
commit 65eebb8618

View file

@ -65,8 +65,14 @@ class FileCard extends React.PureComponent<Props> {
isSubscribed, isSubscribed,
isNew, isNew,
showSubscribedLogo, showSubscribedLogo,
isResolvingUri,
} = this.props; } = this.props;
if (!isResolvingUri && !claim && !pending) {
// abandoned
return null;
}
if (!claim && !pending) { if (!claim && !pending) {
return ( return (
<div className="card card--small"> <div className="card card--small">