Feature: Jellystat widget (#5185)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Zlendy
2025-05-03 17:26:56 +02:00
committed by GitHub
parent 41dc2e77cb
commit 7e8752243c
8 changed files with 87 additions and 1 deletions

View File

@@ -331,6 +331,9 @@ export function cleanServiceGroups(groups) {
referrerPolicy,
src,
// jellystat
days,
// kopia
snapshotHost,
snapshotPath,
@@ -563,6 +566,9 @@ export function cleanServiceGroups(groups) {
if (type === "spoolman") {
if (spoolIds !== undefined) widget.spoolIds = spoolIds;
}
if (type === "jellystat") {
if (days !== undefined) widget.days = parseInt(days, 10);
}
return widget;
});
return cleanedService;