mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 23:08:48 +00:00
Enhancement: extend hdhomerun widget (#2757)
This commit is contained in:
parent
23e697ed4a
commit
05a7c0ff56
5 changed files with 50 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue