feat(widgets): rework downloads widget with mantine-datatable (#6430)

This commit is contained in:
Thomas authored and GitHub committed 2026-07-28 21:50:09 +02:00
1 parent 3419805a49
commit 906c9f11fa
11 files changed
+2141 -908

No files matched your search

@@ -30,7 +30,7 @@ export class QBitTorrentIntegration extends Integration implements IDownloadClie
public async getClientJobsAndStatusAsync(input: { limit: number }): Promise<DownloadClientJobsAndStatus> {
const type = "torrent";
const client = await this.getClientAsync();
const torrents = await client.listTorrents({ limit: input.limit, sort: "progress", reverse: false });
const torrents = await client.listTorrents({ limit: input.limit });
const rates = torrents.reduce(
({ down, up }, { dlspeed, upspeed }) => ({ down: down + dlspeed, up: up + upspeed }),
{ down: 0, up: 0 },