Feature: Frigate service widget (#3743)

This commit is contained in:
j0ton authored and GitHub committed 2024-07-17 07:09:58 -07:00
1 parent 1d820b02cb
commit 16b45a313e
9 files changed
+141

No files matched your search

+6
View File
@@ -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;