diff --git a/js/page/my_files.js b/js/page/my_files.js index 90d073cfa..0d9c9bb1c 100644 --- a/js/page/my_files.js +++ b/js/page/my_files.js @@ -169,7 +169,7 @@ var MyFilesPage = React.createClass({ var ownershipLoadedCount = 0; for (let i = 0; i < filesInfo.length; i++) { let fileInfo = filesInfo[i]; - lbry.getMyClaim(fileInfo.lbry_uri, (claim) => { + lbry.call('get_my_claim', {name: fileInfo.lbry_uri}, (claim) => { this._filesOwnership[fileInfo.lbry_uri] = !!claim; ownershipLoadedCount++; if (ownershipLoadedCount >= filesInfo.length) { @@ -177,6 +177,14 @@ var MyFilesPage = React.createClass({ filesOwnershipLoaded: true, }); } + }, (claim) => { + this._filesOwnership[fileInfo.lbry_uri] = true; + ownershipLoadedCount++; + if (ownershipLoadedCount >= filesInfo.length) { + this.setState({ + filesOwnershipLoaded: true, + }); + } }); } });