Feature: Technitium DNS Widget (#3904)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Bobby Driggs
2024-08-29 10:51:36 -07:00
committed by GitHub
parent e2518b37d9
commit 4c6150a545
9 changed files with 188 additions and 0 deletions

View File

@@ -473,6 +473,9 @@ export function cleanServiceGroups(groups) {
// wgeasy
threshold,
// technitium
range,
} = cleanedService.widget;
let fieldsList = fields;
@@ -617,6 +620,9 @@ export function cleanServiceGroups(groups) {
if (type === "frigate") {
if (enableRecentEvents !== undefined) cleanedService.widget.enableRecentEvents = enableRecentEvents;
}
if (type === "technitium") {
if (range !== undefined) cleanedService.widget.range = range;
}
}
return cleanedService;