mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-30 15:49:00 +03:00
Miscellaneous Fixes (#21193)
* Fix saving zone friendly name when it wasn't set * Fix UTF-8 handling for Onvif * Don't remove none directory for classes * Lookup all event IDs for review item immediately * Cleanup typing * Only fetch events when review group is open * Cleanup * disable debug paths switch for autotracking cameras * fix clickable birdseye --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
dfd837cfb0
commit
4cf4520ea7
@@ -316,7 +316,7 @@ function ReviewGroup({
|
||||
date_style: "medium",
|
||||
});
|
||||
|
||||
const shouldFetchEvents = review?.data?.detections?.length > 0;
|
||||
const shouldFetchEvents = open && review?.data?.detections?.length > 0;
|
||||
|
||||
const { data: fetchedEvents, isValidating } = useSWR<Event[]>(
|
||||
shouldFetchEvents
|
||||
|
||||
Reference in New Issue
Block a user