diff --git a/js/page/my_files.js b/js/page/my_files.js
index 5cd7415e8..90d073cfa 100644
--- a/js/page/my_files.js
+++ b/js/page/my_files.js
@@ -107,7 +107,11 @@ var MyFilesRow = React.createClass({
{ ' ' }
- {this.props.completed ? 'Download complete' : (parseInt(this.props.ratioLoaded * 100) + '%')}
+ {this.props.completed
+ ? (this.props.isMine
+ ? 'Published'
+ : 'Download complete')
+ : (parseInt(this.props.ratioLoaded * 100) + '%')}
{ pauseLink }
{ watchButton }
@@ -233,9 +237,10 @@ var MyFilesPage = React.createClass({
let {completed, written_bytes, total_bytes, lbry_uri, file_name, download_path,
stopped, metadata} = fileInfo;
- if (!metadata || seenUris[lbry_uri] || (this.props.show == 'downloaded' && this._filesOwnership[lbry_uri]) ||
- (this.props.show == 'published' && !this._filesOwnership[lbry_uri]))
- {
+ var isMine = this._filesOwnership[lbry_uri];
+
+ if (!metadata || seenUris[lbry_uri] || (this.props.show == 'downloaded' && isMine) ||
+ (this.props.show == 'published' && !isMine)) {
continue;
}
@@ -260,7 +265,7 @@ var MyFilesPage = React.createClass({
content.push();
+ available={this.state.filesAvailable[lbry_uri]} isMine={isMine} />);
}
}
return (