mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove empty peers str
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5,6 +5,6 @@ export function humanizeSize(size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getPeerString(torrent) {
|
export function getPeerString(torrent) {
|
||||||
if (!torrent || !torrent.connected_seeders) return '[0] 0 / 0'
|
if (!torrent || !torrent.connected_seeders) return ''
|
||||||
return '[' + torrent.connected_seeders + '] ' + torrent.active_peers + ' / ' + torrent.total_peers
|
return '[' + torrent.connected_seeders + '] ' + torrent.active_peers + ' / ' + torrent.total_peers
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user