diff --git a/src/renderer/component/fileCard/view.jsx b/src/renderer/component/fileCard/view.jsx index 3d980d5a7..be3bd7a41 100644 --- a/src/renderer/component/fileCard/view.jsx +++ b/src/renderer/component/fileCard/view.jsx @@ -133,7 +133,8 @@ class FileCard extends React.PureComponent { {isRewardContent && } {isSubscribed && } - {fileInfo && } + {claimIsMine && } + {!claimIsMine && fileInfo && } {isNew && {__('NEW')}} diff --git a/src/renderer/component/fileTile/view.jsx b/src/renderer/component/fileTile/view.jsx index 773f7b609..0f5245e80 100644 --- a/src/renderer/component/fileTile/view.jsx +++ b/src/renderer/component/fileTile/view.jsx @@ -59,6 +59,7 @@ class FileTile extends React.PureComponent { rewardedContentClaimIds, size, isNew, + claimIsMine, } = this.props; const isRewardContent = claim && rewardedContentClaimIds.includes(claim.claim_id); @@ -67,12 +68,15 @@ class FileTile extends React.PureComponent { } return ( + // TODO: turn this into it's own component and share it with FileCard + // The only issue is icon placement on the search page
{isNew && {__('NEW')}} {isSubscribed && } {isRewardContent && } - {isDownloaded && } + {!claimIsMine && isDownloaded && } + {claimIsMine && }
); }