mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
peers widget placeholder added
This commit is contained in:
@@ -5,7 +5,7 @@ export function humanizeSize(size) {
|
||||
}
|
||||
|
||||
export function getPeerString(torrent) {
|
||||
if (!torrent || !torrent.connected_seeders) return ''
|
||||
if (!torrent || !torrent.connected_seeders) return '[0] 0 / 0'
|
||||
return `[${torrent.connected_seeders}] ${torrent.active_peers} / ${torrent.total_peers}`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user