diff --git a/src/torrent.js b/src/torrent.js index 29109fc..1750b59 100644 --- a/src/torrent.js +++ b/src/torrent.js @@ -10,10 +10,23 @@ return (
window.router('/torrent/' + torrent.hash)} - primaryText={{torrent.name}} + primaryText={ + { + if(node) + node.onclick = () => { return false } + }}> + + {torrent.name} + + + } secondaryText={ + { + if(node) + node.onclick = () => { return false } + }}>
{ @@ -39,7 +52,8 @@ return ( null }
- } +
+ } leftIcon={ (() => { switch(torrent.contentType)