diff --git a/ui/js/component/fileList/view.jsx b/ui/js/component/fileList/view.jsx index 9c47f5899..20631b59e 100644 --- a/ui/js/component/fileList/view.jsx +++ b/ui/js/component/fileList/view.jsx @@ -67,11 +67,15 @@ class FileList extends React.PureComponent { const content = []; this._sortFunctions[sortBy](fileInfos).forEach(fileInfo => { - const uri = lbryuri.build({ - contentName: fileInfo.name, - channelName: fileInfo.channel_name, - claimId: fileInfo.claim_id, - }); + let uriParams = {}; + if (fileInfo.channel_name) { + uriParams.channelName = fileInfo.channel_name; + uriParams.contentName = fileInfo.name; + } else { + uriParams.claimId = fileInfo.claim_id; + uriParams.name = fileInfo.name; + } + const uri = lbryuri.build(uriParams); content.push(