|
|
@ -291,6 +291,8 @@ export function cleanServiceGroups(groups) {
|
|
|
|
volume, // diskstation widget,
|
|
|
|
volume, // diskstation widget,
|
|
|
|
enableQueue, // sonarr/radarr
|
|
|
|
enableQueue, // sonarr/radarr
|
|
|
|
node, // Proxmox
|
|
|
|
node, // Proxmox
|
|
|
|
|
|
|
|
snapshotHost, // kopia
|
|
|
|
|
|
|
|
snapshotPath,
|
|
|
|
} = cleanedService.widget;
|
|
|
|
} = cleanedService.widget;
|
|
|
|
|
|
|
|
|
|
|
|
let fieldsList = fields;
|
|
|
|
let fieldsList = fields;
|
|
|
@ -345,6 +347,10 @@ export function cleanServiceGroups(groups) {
|
|
|
|
if (["diskstation", "qnap"].includes(type)) {
|
|
|
|
if (["diskstation", "qnap"].includes(type)) {
|
|
|
|
if (volume) cleanedService.widget.volume = volume;
|
|
|
|
if (volume) cleanedService.widget.volume = volume;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (type === "kopia") {
|
|
|
|
|
|
|
|
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
|
|
|
|
|
|
|
|
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return cleanedService;
|
|
|
|
return cleanedService;
|
|
|
|