From a5feefe294a60e443b3387d217841eb409d5f93a Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Thu, 9 Mar 2017 15:26:11 -0500 Subject: [PATCH] Use updated key name in file_list (was lbry_uri, now name) --- ui/js/page/file-list.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/js/page/file-list.js b/ui/js/page/file-list.js index 931e283e7..085449303 100644 --- a/ui/js/page/file-list.js +++ b/ui/js/page/file-list.js @@ -160,13 +160,13 @@ export let FileList = React.createClass({ seenUris = {}; const fileInfosSorted = this._sortFunctions[this.state.sortBy](this.props.fileInfos); - for (let {lbry_uri, outpoint, metadata} of fileInfosSorted) { - if (!metadata || seenUris[lbry_uri]) { + for (let {name, outpoint, metadata} of fileInfosSorted) { + if (!metadata || seenUris[name]) { continue; } - seenUris[lbry_uri] = true; - content.push(); }