mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Feature: Technitium DNS Widget (#3904)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
e2518b37d9
commit
4c6150a545
9 changed files with 188 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue