Enhancement: extend hdhomerun widget (#2757)

This commit is contained in:
JeffRandall 2024-01-26 12:57:08 -06:00 committed by GitHub
parent 23e697ed4a
commit 05a7c0ff56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 50 additions and 8 deletions

View file

@ -398,6 +398,9 @@ export function cleanServiceGroups(groups) {
// glances, customapi, iframe
refreshInterval,
// hdhomerun
tuner,
// healthchecks
uuid,
@ -541,6 +544,9 @@ export function cleanServiceGroups(groups) {
if (showTime) cleanedService.widget.showTime = showTime;
if (timezone) cleanedService.widget.timezone = timezone;
}
if (type === "hdhomerun") {
if (tuner !== undefined) cleanedService.widget.tuner = tuner;
}
if (type === "healthchecks") {
if (uuid !== undefined) cleanedService.widget.uuid = uuid;
}