ссылка на именовании
This commit is contained in:
@ -10,10 +10,23 @@ return (
|
|||||||
<div>
|
<div>
|
||||||
<ListItem
|
<ListItem
|
||||||
onClick={() => window.router('/torrent/' + torrent.hash)}
|
onClick={() => window.router('/torrent/' + torrent.hash)}
|
||||||
primaryText={<span className='break-word' style={{
|
primaryText={
|
||||||
|
<a href={'/torrent/' + torrent.hash} ref={(node) => {
|
||||||
|
if(node)
|
||||||
|
node.onclick = () => { return false }
|
||||||
|
}}>
|
||||||
|
<span className='break-word' style={{
|
||||||
color: torrent.contentCategory != 'xxx' ? 'black' : 'grey'
|
color: torrent.contentCategory != 'xxx' ? 'black' : 'grey'
|
||||||
}}>{torrent.name}</span>}
|
}}>
|
||||||
|
{torrent.name}
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
}
|
||||||
secondaryText={
|
secondaryText={
|
||||||
|
<a href={'/torrent/' + torrent.hash} ref={(node) => {
|
||||||
|
if(node)
|
||||||
|
node.onclick = () => { return false }
|
||||||
|
}}>
|
||||||
<div className='column' style={{height: 'auto', whiteSpace: 'normal'}}>
|
<div className='column' style={{height: 'auto', whiteSpace: 'normal'}}>
|
||||||
<div>
|
<div>
|
||||||
{
|
{
|
||||||
@ -39,6 +52,7 @@ return (
|
|||||||
null
|
null
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
}
|
}
|
||||||
leftIcon={
|
leftIcon={
|
||||||
(() => {
|
(() => {
|
||||||
|
Reference in New Issue
Block a user