hide abandonded claims
This commit is contained in:
parent
062761d850
commit
65eebb8618
1 changed files with 6 additions and 0 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue