mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
🐛 Fix a small bug inside the torrent module
This commit is contained in:
@@ -91,10 +91,9 @@ export default function DownloadComponent() {
|
|||||||
</tr>
|
</tr>
|
||||||
);
|
);
|
||||||
// Loop over qBittorrent torrents merging with deluge torrents
|
// Loop over qBittorrent torrents merging with deluge torrents
|
||||||
const rows = torrents.map((torrent) => {
|
const rows = torrents
|
||||||
if (torrent.progress === 1 && hideComplete) {
|
.filter((torrent) => !(torrent.progress === 1 && hideComplete))
|
||||||
return [];
|
.map((torrent) => {
|
||||||
}
|
|
||||||
const downloadSpeed = torrent.downloadSpeed / 1024 / 1024;
|
const downloadSpeed = torrent.downloadSpeed / 1024 / 1024;
|
||||||
const uploadSpeed = torrent.uploadSpeed / 1024 / 1024;
|
const uploadSpeed = torrent.uploadSpeed / 1024 / 1024;
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user