feat(search): search among info indexes

This commit is contained in:
Alexey Kasyanchuk
2018-08-28 21:14:49 +03:00
parent 4c2ff465f2
commit ff28e70251
4 changed files with 40 additions and 3 deletions

View File

@ -302,6 +302,13 @@ export default class Torrent extends Component {
node.onclick = () => { return false }
}}>
<div className='column' style={{height: 'auto', whiteSpace: 'normal', paddingTop: '0.30em'}}>
{
torrent.info && torrent.info.name
&&
<div className='row w100p inline fs0-85' style={{color: 'grey', padding: '4px 0px 5px'}}>
{torrent.info.name}
</div>
}
<div className='row w100p inline'>
<div style={{color: torrent.contentCategory != 'xxx' ? (torrent.peer ? '#5252d1' : 'black') : (torrent.peer ? '#9083e2' : 'grey')}}>
{