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