Fix admin panel torrent stat
This commit is contained in:
parent
2f31f81d26
commit
555e6c6a35
@ -44,7 +44,7 @@ function TorrentsStat(props) {
|
|||||||
return (<span>No torrents</span>);
|
return (<span>No torrents</span>);
|
||||||
}
|
}
|
||||||
|
|
||||||
const percentage = Math.floor((props.data.torrentCount * 100) / props.data.count);
|
const percentage = Math.floor((props.data.torrentCountById * 100) / props.data.count);
|
||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
{percentage}% with torrents
|
{percentage}% with torrents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user