Add enableLeechProgress flag

This commit is contained in:
Mindfreak9100 2024-12-12 01:56:58 -05:00 committed by shamoon
parent 3c28e4af44
commit a3f0fc9599

View File

@ -479,6 +479,9 @@ export function cleanServiceGroups(groups) {
// proxmox
node,
// qbittorrent
enableLeechProgress,
// speedtest
bitratePrecision,
@ -671,6 +674,9 @@ export function cleanServiceGroups(groups) {
if (type === "spoolman") {
if (spoolIds !== undefined) widget.spoolIds = spoolIds;
}
if (type === "qbittorrent") {
if (enableLeechProgress !== undefined) widget.enableLeechProgress = JSON.parse(enableLeechProgress);
}
return widget;
});
return cleanedService;