update web

This commit is contained in:
YouROK
2021-01-19 16:12:14 +03:00
parent 62b28a618f
commit 8644e040a3
4 changed files with 6 additions and 3 deletions

View File

@@ -59,6 +59,9 @@ export default function Torrent(props) {
setOpen(true)
}}
>
{torrent.poster &&
<img src={torrent.poster} alt={torrent.title} style={{width: 'auto',height:'100px',marginRight:'0px'}}/>
}
<Typography>
{torrent.name ? torrent.name : torrent.title}
{torrent.torrent_size > 0 ? ' | ' + humanizeSize(torrent.torrent_size) : ''}