mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-20 13:54:36 +01:00
UI tweaks (#20675)
* spacing tweaks and add link to explore for plate * clear selected objects when changing cameras * plate link and spacing in object lifecycle * set tabindex to prevent tooltip from showing on reopen * show month and day in object lifecycle timestamp
This commit is contained in:
@@ -58,6 +58,11 @@ export function DetailStreamProvider({
|
||||
setAnnotationOffset(cfgOffset);
|
||||
}, [config, camera]);
|
||||
|
||||
// Clear selected objects when exiting detail mode or changing cameras
|
||||
useEffect(() => {
|
||||
setSelectedObjectIds([]);
|
||||
}, [isDetailMode, camera]);
|
||||
|
||||
const value: DetailStreamContextType = {
|
||||
selectedObjectIds,
|
||||
currentTime,
|
||||
|
||||
Reference in New Issue
Block a user