mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
bugfixes and small UI tweaks (#11360)
This commit is contained in:
parent
9680f2a574
commit
fbec08354c
@ -440,7 +440,7 @@ export function CameraGroupRow({
|
||||
<>
|
||||
<div
|
||||
key={group[0]}
|
||||
className="flex md:p-1 rounded-lg flex-row items-center justify-between md:mx-2 my-1.5 transition-background duration-100"
|
||||
className="flex md:p-1 rounded-lg flex-row items-center justify-between my-1.5 transition-background duration-100"
|
||||
>
|
||||
<div className={`flex items-center`}>
|
||||
<p className="cursor-default">{group[0]}</p>
|
||||
|
@ -206,7 +206,7 @@ export default function PolygonItem({
|
||||
|
||||
<div
|
||||
key={index}
|
||||
className="flex p-1 rounded-lg flex-row items-center justify-between mx-2 my-1.5 transition-background duration-100"
|
||||
className="flex p-1 rounded-lg flex-row items-center justify-between my-1.5 transition-background duration-100"
|
||||
data-index={index}
|
||||
onMouseEnter={() => setHoveredPolygonIndex(index)}
|
||||
onMouseLeave={() => setHoveredPolygonIndex(null)}
|
||||
|
@ -147,9 +147,11 @@ export function EventReviewTimeline({
|
||||
});
|
||||
}
|
||||
}
|
||||
// don't scroll when segments update from unreviewed -> reviewed
|
||||
// we know that these deps are correct
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [
|
||||
selectedTimelineRef,
|
||||
segments,
|
||||
showMinimap,
|
||||
alignStartDateToTimeline,
|
||||
visibleTimestamps,
|
||||
|
@ -103,9 +103,9 @@ export default function EventView({
|
||||
|
||||
if (filter?.showReviewed == 1) {
|
||||
return {
|
||||
alert: summary.total_alert,
|
||||
detection: summary.total_detection,
|
||||
significant_motion: summary.total_motion,
|
||||
alert: summary.total_alert ?? 0,
|
||||
detection: summary.total_detection ?? 0,
|
||||
significant_motion: summary.total_motion ?? 0,
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user