From abad9be55202882eaefcb45d7e2694f8efb8be12 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 1 Oct 2018 16:11:30 -0400 Subject: [PATCH] update key for FileList --- src/renderer/component/fileList/view.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/component/fileList/view.jsx b/src/renderer/component/fileList/view.jsx index 9ab572663..b7863547c 100644 --- a/src/renderer/component/fileList/view.jsx +++ b/src/renderer/component/fileList/view.jsx @@ -145,7 +145,8 @@ class FileList extends React.PureComponent { name: claimName, claim_name: claimNameDownloaded, claim_id: claimId, - outpoint, + txid, + nout, } = fileInfo; const uriParams = {}; @@ -155,6 +156,7 @@ class FileList extends React.PureComponent { uriParams.contentName = name; uriParams.claimId = claimId; const uri = buildURI(uriParams); + const outpoint = `${txid}:${nout}`; // See https://github.com/lbryio/lbry-desktop/issues/1327 for discussion around using outpoint as the key content.push();