Skip to content

Commit 8b1e70e

Browse files
FibreTTPs0up4200
andauthored
feat(web): Use original qBittorrent status names (#595)
Co-authored-by: soup <s0up4200@pm.me>
1 parent e06acb7 commit 8b1e70e

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

web/src/components/torrents/TorrentTableColumns.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,12 @@ const getStatusIcon = (state: string, trackerHealth?: string | null, supportsTra
237237
case "stalledUP":
238238
case "stalled_uploading":
239239
return Upload
240-
case "pausedDL":
241240
case "pausedUP":
241+
case "stoppedUP":
242+
return CheckCircle2
243+
case "pausedDL":
242244
case "stopped":
243245
case "stoppedDL":
244-
case "stoppedUP":
245246
case "inactive":
246247
return StopCircle
247248
case "checkingDL":

web/src/lib/torrent-state-utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ const TORRENT_STATE_LABELS: Record<string, string> = {
1616

1717
// Uploading / Seeding related
1818
uploading: "Seeding",
19-
stalledUP: "Stalled",
19+
stalledUP: "Seeding",
2020
queuedUP: "Queued",
2121
checkingUP: "Checking",
2222
forcedUP: "(F) Seeding",
2323

2424
// Paused / Stopped
2525
pausedDL: "Paused",
26-
pausedUP: "Paused",
26+
pausedUP: "Completed",
2727
stoppedDL: "Stopped",
28-
stoppedUP: "Stopped",
28+
stoppedUP: "Completed",
2929

3030
// Other
3131
error: "Error",

0 commit comments

Comments
 (0)