mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🚑 Hotfix deluge torrent progress
This commit is contained in:
@@ -81,7 +81,9 @@ export default function DownloadComponent() {
|
|||||||
);
|
);
|
||||||
// Loop over qBittorrent torrents merging with deluge torrents
|
// Loop over qBittorrent torrents merging with deluge torrents
|
||||||
const torrents: NormalizedTorrent[] = [];
|
const torrents: NormalizedTorrent[] = [];
|
||||||
delugeTorrents.forEach((torrent) => torrents.push(torrent));
|
delugeTorrents.forEach((delugeTorrent) =>
|
||||||
|
torrents.push({ ...delugeTorrent, progress: delugeTorrent.progress / 100 })
|
||||||
|
);
|
||||||
qBittorrentTorrents.forEach((torrent) => torrents.push(torrent));
|
qBittorrentTorrents.forEach((torrent) => torrents.push(torrent));
|
||||||
|
|
||||||
const rows = torrents.map((torrent) => {
|
const rows = torrents.map((torrent) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user