mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-04 06:12:12 +08:00
Feature: Frigate service widget (#3743)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user