From a7050303c2ca523930023e397f8a9110e893510a Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Tue, 11 Apr 2017 00:21:02 -0400 Subject: [PATCH] My Files: pass signing info into file tiles --- ui/js/page/file-list.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/js/page/file-list.js b/ui/js/page/file-list.js index 2d2cfdb18..ba91835e7 100644 --- a/ui/js/page/file-list.js +++ b/ui/js/page/file-list.js @@ -161,7 +161,7 @@ export let FileList = React.createClass({ seenUris = {}; const fileInfosSorted = this._sortFunctions[this.state.sortBy](this.props.fileInfos); - for (let {outpoint, name, channel_name, metadata: {stream: {metadata}}, mime_type, claim_id} of fileInfosSorted) { + for (let {outpoint, name, channel_name, metadata: {stream: {metadata}}, mime_type, claim_id, has_signature, signature_is_valid} of fileInfosSorted) { if (!metadata || seenUris[name]) { continue; } @@ -174,7 +174,8 @@ export let FileList = React.createClass({ } seenUris[name] = true; content.push(); + hidePrice={this.props.hidePrices} metadata={metadata} contentType={mime_type} + hasSignature={has_signature} signatureIsValid={signature_is_valid} />); } return (