mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Feature: Frigate service widget (#3743)
This commit is contained in:
parent
1d820b02cb
commit
16b45a313e
9 changed files with 141 additions and 0 deletions
|
@ -399,6 +399,9 @@ export function cleanServiceGroups(groups) {
|
|||
expandOneStreamToTwoRows,
|
||||
showEpisodeNumber,
|
||||
|
||||
// frigate
|
||||
enableRecentEvents,
|
||||
|
||||
// glances, pihole, pfsense
|
||||
version,
|
||||
|
||||
|
@ -614,6 +617,9 @@ export function cleanServiceGroups(groups) {
|
|||
if (type === "wgeasy") {
|
||||
if (threshold !== undefined) cleanedService.widget.threshold = parseInt(threshold, 10);
|
||||
}
|
||||
if (type === "frigate") {
|
||||
if (enableRecentEvents !== undefined) cleanedService.widget.enableRecentEvents = enableRecentEvents;
|
||||
}
|
||||
}
|
||||
|
||||
return cleanedService;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue