Enhancement: Add size of torrent(s) in leechProgress list to qbittorrent widget (#5803)
Some checks failed
Docker CI / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled

This commit is contained in:
AdamWHY2K
2025-09-27 07:28:15 +01:00
committed by GitHub
parent 02089a35ee
commit 8f756d4084
4 changed files with 10 additions and 1 deletions

View File

@@ -284,6 +284,7 @@ export function cleanServiceGroups(groups) {
// deluge, qbittorrent
enableLeechProgress,
enableLeechSize,
// diskstation
volume,
@@ -493,6 +494,7 @@ export function cleanServiceGroups(groups) {
}
if (["deluge", "qbittorrent"].includes(type)) {
if (enableLeechProgress !== undefined) widget.enableLeechProgress = JSON.parse(enableLeechProgress);
if (enableLeechSize !== undefined) widget.enableLeechSize = JSON.parse(enableLeechSize);
}
if (["opnsense", "pfsense"].includes(type)) {
if (wan) widget.wan = wan;