mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Enhancement: extend hdhomerun widget (#2757)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user